Remove some unnecessary recursive includes from the internal apps.h header,
authorGeoff Thorpe <geoff@openssl.org>
Mon, 17 May 2004 19:05:32 +0000 (19:05 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 17 May 2004 19:05:32 +0000 (19:05 +0000)
and include bn.h in those C files that need bignum functionality.

apps/apps.c
apps/apps.h
apps/dsa.c
apps/ocsp.c
apps/rsa.c
apps/speed.c
apps/version.c

index 6925ab4..3c3a11c 100644 (file)
 #include <openssl/engine.h>
 #endif
 #include <openssl/rsa.h>
+#include <openssl/bn.h>
 
 #define NON_MAIN
 #include "apps.h"
index 6072a10..e653bf1 100644 (file)
 
 #include "e_os.h"
 
-#include <openssl/buffer.h>
 #include <openssl/bio.h>
-#include <openssl/crypto.h>
 #include <openssl/x509.h>
 #include <openssl/lhash.h>
 #include <openssl/conf.h>
index e9de3a3..b6f0ed3 100644 (file)
@@ -68,6 +68,7 @@
 #include <openssl/evp.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
+#include <openssl/bn.h>
 
 #undef PROG
 #define PROG   dsa_main
index 9c8e20d..52af592 100644 (file)
@@ -64,6 +64,7 @@
 #include <openssl/ocsp.h>
 #include <openssl/err.h>
 #include <openssl/ssl.h>
+#include <openssl/bn.h>
 
 /* Maximum leeway in validity period: default 5 minutes */
 #define MAX_VALIDITY_PERIOD    (5 * 60)
index 0acdb08..afbe0b4 100644 (file)
@@ -68,6 +68,7 @@
 #include <openssl/evp.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
+#include <openssl/bn.h>
 
 #undef PROG
 #define PROG   rsa_main
index ccc074f..4008930 100644 (file)
 #include <sys/param.h>
 #endif
 
+#include <openssl/bn.h>
 #ifndef OPENSSL_NO_DES
 #include <openssl/des.h>
 #endif
index 041da37..69ef3e1 100644 (file)
 #include "apps.h"
 #include <openssl/evp.h>
 #include <openssl/crypto.h>
+#include <openssl/bn.h>
 #ifndef OPENSSL_NO_MD2
 # include <openssl/md2.h>
 #endif