Commit 4f94d1a8 authored by Bodo Möller's avatar Bodo Möller
Browse files

check OPENSSL_NO_... before including header files that might be

disabled
parent 1d4581c2
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -115,11 +115,21 @@
#include "apps.h"
#include <openssl/evp.h>
#include <openssl/crypto.h>
#ifndef OPENSSL_NO_MD2
# include <openssl/md2.h>
#endif
#ifndef OPENSSL_NO_RC4
# include <openssl/rc4.h>
#endif
#ifndef OPENSSL_NO_DES
# include <openssl/des_old.h>
#endif
#ifndef OPENSSL_NO_IDEA
# include <openssl/idea.h>
#endif
#ifndef OPENSSL_NO_BF
# include <openssl/blowfish.h>
#endif

#undef PROG
#define PROG	version_main