aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/d2i_pr.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-12-01 22:41:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-12-01 22:41:39 +0000
commit322de0c8c1ff3d595bc236b30d74cd91240a58f8 (patch)
treee77f3dd2a1cc14652591798aee1c4e50503e6ff3 /crypto/asn1/d2i_pr.c
parent6a9af68b56c192a635e7daf373dc95007f76bde3 (diff)
downloadopenssl-322de0c8c1ff3d595bc236b30d74cd91240a58f8.zip
openssl-322de0c8c1ff3d595bc236b30d74cd91240a58f8.tar.gz
openssl-322de0c8c1ff3d595bc236b30d74cd91240a58f8.tar.bz2
NO_DSA, NO_RSA patches.
Diffstat (limited to 'crypto/asn1/d2i_pr.c')
-rw-r--r--crypto/asn1/d2i_pr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c
index 3021b80..2e7d96a 100644
--- a/crypto/asn1/d2i_pr.c
+++ b/crypto/asn1/d2i_pr.c
@@ -62,8 +62,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/asn1.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
+#endif
EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, unsigned char **pp,
long length)