From: Dr. Stephen Henson Date: Sat, 1 Dec 2001 22:41:39 +0000 (+0000) Subject: NO_DSA, NO_RSA patches. X-Git-Tag: OpenSSL_0_9_6d-beta1~83^2~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=322de0c8c1ff3d595bc236b30d74cd91240a58f8;p=openssl NO_DSA, NO_RSA patches. --- diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c index 3021b80f0d..2e7d96af90 100644 --- a/crypto/asn1/d2i_pr.c +++ b/crypto/asn1/d2i_pr.c @@ -62,8 +62,12 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, unsigned char **pp, long length) diff --git a/crypto/asn1/d2i_pu.c b/crypto/asn1/d2i_pu.c index 4780db0cf5..71f2eb361b 100644 --- a/crypto/asn1/d2i_pu.c +++ b/crypto/asn1/d2i_pu.c @@ -62,8 +62,12 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, unsigned char **pp, long length) diff --git a/crypto/asn1/i2d_pr.c b/crypto/asn1/i2d_pr.c index 297e8376f8..1e951ae01d 100644 --- a/crypto/asn1/i2d_pr.c +++ b/crypto/asn1/i2d_pr.c @@ -61,8 +61,12 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) { diff --git a/crypto/asn1/i2d_pu.c b/crypto/asn1/i2d_pu.c index 360a5253da..013d19bbf4 100644 --- a/crypto/asn1/i2d_pu.c +++ b/crypto/asn1/i2d_pu.c @@ -61,8 +61,12 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) {