From 322de0c8c1ff3d595bc236b30d74cd91240a58f8 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 1 Dec 2001 22:41:39 +0000 Subject: [PATCH] NO_DSA, NO_RSA patches. --- crypto/asn1/d2i_pr.c | 4 ++++ crypto/asn1/d2i_pu.c | 4 ++++ crypto/asn1/i2d_pr.c | 4 ++++ crypto/asn1/i2d_pu.c | 4 ++++ 4 files changed, 16 insertions(+) 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) { -- 2.34.1