From: Bodo Möller Date: Thu, 22 Nov 2001 11:13:10 +0000 (+0000) Subject: check OPENSSL_NO_... before including header files that might be X-Git-Tag: OpenSSL-engine-0_9_6c^2^2~173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f94d1a8b18cb35914eb253f75d96fec410694ad;p=oweals%2Fopenssl.git check OPENSSL_NO_... before including header files that might be disabled --- diff --git a/apps/version.c b/apps/version.c index 656b96278b..6baf679b77 100644 --- a/apps/version.c +++ b/apps/version.c @@ -115,11 +115,21 @@ #include "apps.h" #include #include -#include -#include -#include -#include -#include +#ifndef OPENSSL_NO_MD2 +# include +#endif +#ifndef OPENSSL_NO_RC4 +# include +#endif +#ifndef OPENSSL_NO_DES +# include +#endif +#ifndef OPENSSL_NO_IDEA +# include +#endif +#ifndef OPENSSL_NO_BF +# include +#endif #undef PROG #define PROG version_main