aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-05-17 19:05:32 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-05-17 19:05:32 +0000
commitf0eae953e2a02a92674e39f5ff087c1f67afd7dc (patch)
tree8c142022422b3710995e1f077daf7150bbc019ea /apps
parent298a2f9e58b9d4e86fc585ae6b68a50e750631ed (diff)
downloadopenssl-f0eae953e2a02a92674e39f5ff087c1f67afd7dc.tar.gz
Remove some unnecessary recursive includes from the internal apps.h header,
and include bn.h in those C files that need bignum functionality.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c1
-rw-r--r--apps/apps.h2
-rw-r--r--apps/dsa.c1
-rw-r--r--apps/ocsp.c1
-rw-r--r--apps/rsa.c1
-rw-r--r--apps/speed.c1
-rw-r--r--apps/version.c1
7 files changed, 6 insertions, 2 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 6925ab4cdd..3c3a11ce4d 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -126,6 +126,7 @@
#include <openssl/engine.h>
#endif
#include <openssl/rsa.h>
+#include <openssl/bn.h>
#define NON_MAIN
#include "apps.h"
diff --git a/apps/apps.h b/apps/apps.h
index 6072a10bd3..e653bf1b46 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -114,9 +114,7 @@
#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>
diff --git a/apps/dsa.c b/apps/dsa.c
index e9de3a3bdf..b6f0ed3d02 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -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
diff --git a/apps/ocsp.c b/apps/ocsp.c
index 9c8e20d35a..52af592a4a 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -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)
diff --git a/apps/rsa.c b/apps/rsa.c
index 0acdb08b24..afbe0b4eb0 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -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
diff --git a/apps/speed.c b/apps/speed.c
index ccc074f360..4008930454 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -157,6 +157,7 @@
#include <sys/param.h>
#endif
+#include <openssl/bn.h>
#ifndef OPENSSL_NO_DES
#include <openssl/des.h>
#endif
diff --git a/apps/version.c b/apps/version.c
index 041da37e99..69ef3e1bad 100644
--- a/apps/version.c
+++ b/apps/version.c
@@ -115,6 +115,7 @@
#include "apps.h"
#include <openssl/evp.h>
#include <openssl/crypto.h>
+#include <openssl/bn.h>
#ifndef OPENSSL_NO_MD2
# include <openssl/md2.h>
#endif