提交 f0eae953 编写于 作者: G Geoff Thorpe

Remove some unnecessary recursive includes from the internal apps.h header,

and include bn.h in those C files that need bignum functionality.
上级 298a2f9e
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
#include <openssl/engine.h> #include <openssl/engine.h>
#endif #endif
#include <openssl/rsa.h> #include <openssl/rsa.h>
#include <openssl/bn.h>
#define NON_MAIN #define NON_MAIN
#include "apps.h" #include "apps.h"
......
...@@ -114,9 +114,7 @@ ...@@ -114,9 +114,7 @@
#include "e_os.h" #include "e_os.h"
#include <openssl/buffer.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/crypto.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/lhash.h> #include <openssl/lhash.h>
#include <openssl/conf.h> #include <openssl/conf.h>
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/pem.h> #include <openssl/pem.h>
#include <openssl/bn.h>
#undef PROG #undef PROG
#define PROG dsa_main #define PROG dsa_main
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#include <openssl/ocsp.h> #include <openssl/ocsp.h>
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/bn.h>
/* Maximum leeway in validity period: default 5 minutes */ /* Maximum leeway in validity period: default 5 minutes */
#define MAX_VALIDITY_PERIOD (5 * 60) #define MAX_VALIDITY_PERIOD (5 * 60)
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/pem.h> #include <openssl/pem.h>
#include <openssl/bn.h>
#undef PROG #undef PROG
#define PROG rsa_main #define PROG rsa_main
......
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
#include <sys/param.h> #include <sys/param.h>
#endif #endif
#include <openssl/bn.h>
#ifndef OPENSSL_NO_DES #ifndef OPENSSL_NO_DES
#include <openssl/des.h> #include <openssl/des.h>
#endif #endif
......
...@@ -115,6 +115,7 @@ ...@@ -115,6 +115,7 @@
#include "apps.h" #include "apps.h"
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <openssl/bn.h>
#ifndef OPENSSL_NO_MD2 #ifndef OPENSSL_NO_MD2
# include <openssl/md2.h> # include <openssl/md2.h>
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册