提交 4f94d1a8 编写于 作者: B Bodo Möller

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

disabled
上级 1d4581c2
...@@ -115,11 +115,21 @@ ...@@ -115,11 +115,21 @@
#include "apps.h" #include "apps.h"
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <openssl/md2.h> #ifndef OPENSSL_NO_MD2
#include <openssl/rc4.h> # include <openssl/md2.h>
#include <openssl/des_old.h> #endif
#include <openssl/idea.h> #ifndef OPENSSL_NO_RC4
#include <openssl/blowfish.h> # 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 #undef PROG
#define PROG version_main #define PROG version_main
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册