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 6925ab4cdd84c6ce80b459b151c47f7ec95ab06b..3c3a11ce4de8e7e317bfd5e07f53e7e47fd15c48 100644 (file)
 #include <openssl/engine.h>
 #endif
 #include <openssl/rsa.h>
+#include <openssl/bn.h>
 
 #define NON_MAIN
 #include "apps.h"
index 6072a10bd3371d8df38b0a34169e7967a7a26f0d..e653bf1b46572bffa1245c0f2418a102b37fbc37 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 e9de3a3bdfb6f55aa6c7de6dbb609d764b35d4b7..b6f0ed3d024196a44a4656384afd0dcd5b984747 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 9c8e20d35ab967708172dbd3e4555c84ebd16aef..52af592a4a6174f3336d63f3d5aa240f238837f4 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 0acdb08b24c35757b2ba3d659b2eff677f80c991..afbe0b4eb0181c6cc2438150ef10cbcdb5609e01 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 ccc074f36029385afe879208bfebc54c19911322..4008930454ace278ed4fb058a9b0f236eb40c590 100644 (file)
 #include <sys/param.h>
 #endif
 
+#include <openssl/bn.h>
 #ifndef OPENSSL_NO_DES
 #include <openssl/des.h>
 #endif
index 041da37e99afb4f3300849434297a13eecf0ba11..69ef3e1bad077ac866b8bb63bc4937edd66da8da 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