From 3eeaab4bed46e3320947d0f609b82007b65b5a46 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Sat, 16 Jul 2005 12:37:36 +0000 Subject: make ./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa] make depend all test work again PR: 1159 --- crypto/pem/pem_all.c | 6 ++++++ crypto/pem/pem_info.c | 4 ++++ crypto/pem/pem_seal.c | 1 + 3 files changed, 11 insertions(+) (limited to 'crypto/pem') diff --git a/crypto/pem/pem_all.c b/crypto/pem/pem_all.c index a9ac52de02..66cbc7eb82 100644 --- a/crypto/pem/pem_all.c +++ b/crypto/pem/pem_all.c @@ -117,9 +117,15 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif +#ifndef OPENSSL_NO_DH #include +#endif #ifndef OPENSSL_NO_RSA static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); diff --git a/crypto/pem/pem_info.c b/crypto/pem/pem_info.c index 489e71a892..1644dfcaac 100644 --- a/crypto/pem/pem_info.c +++ b/crypto/pem/pem_info.c @@ -63,8 +63,12 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif #ifndef OPENSSL_NO_FP_API STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb, void *u) diff --git a/crypto/pem/pem_seal.c b/crypto/pem/pem_seal.c index 0458093353..4e554e5481 100644 --- a/crypto/pem/pem_seal.c +++ b/crypto/pem/pem_seal.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include /* for OPENSSL_NO_RSA */ #ifndef OPENSSL_NO_RSA #include #include "cryptlib.h" -- cgit v1.2.3