summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-09-12 02:39:06 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-09-12 02:39:06 +0000
commit1372965e2ebed49c810978e00be50006f1d7219a (patch)
tree0685aa385c2ff6250d4ea46af92ba94a72f00495 /apps
parent1a1422643baa22d6bf715c6afe1614c3c1ce1b12 (diff)
Reduce the header dependencies on engine.h in apps/.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c1
-rw-r--r--apps/apps.h2
-rw-r--r--apps/ca.c1
-rw-r--r--apps/dgst.c1
-rw-r--r--apps/dh.c1
-rw-r--r--apps/dhparam.c1
-rw-r--r--apps/dsa.c1
-rw-r--r--apps/dsaparam.c1
-rw-r--r--apps/enc.c1
-rw-r--r--apps/gendh.c1
-rw-r--r--apps/gendsa.c1
-rw-r--r--apps/genrsa.c2
-rw-r--r--apps/openssl.c1
-rw-r--r--apps/pkcs12.c1
-rw-r--r--apps/pkcs7.c1
-rw-r--r--apps/pkcs8.c1
-rw-r--r--apps/rand.c1
-rw-r--r--apps/req.c1
-rw-r--r--apps/rsa.c1
-rw-r--r--apps/rsautl.c1
-rw-r--r--apps/s_client.c2
-rw-r--r--apps/s_server.c2
-rw-r--r--apps/smime.c1
-rw-r--r--apps/speed.c1
-rw-r--r--apps/spkac.c1
-rw-r--r--apps/verify.c1
-rw-r--r--apps/x509.c1
27 files changed, 6 insertions, 25 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 4d04ea21d1..628405ef1b 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -71,6 +71,7 @@
#include <openssl/pkcs12.h>
#include <openssl/ui.h>
#include <openssl/safestack.h>
+#include <openssl/engine.h>
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
diff --git a/apps/apps.h b/apps/apps.h
index 191097ffa7..634775d35d 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -67,8 +67,8 @@
#include <openssl/x509.h>
#include <openssl/lhash.h>
#include <openssl/conf.h>
-#include <openssl/engine.h>
#include <openssl/txt_db.h>
+#include <openssl/types.h>
int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn);
int app_RAND_write_file(const char *file, BIO *bio_e);
diff --git a/apps/ca.c b/apps/ca.c
index d41a9d5fc6..481bfc77d7 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -76,7 +76,6 @@
#include <openssl/objects.h>
#include <openssl/ocsp.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
diff --git a/apps/dgst.c b/apps/dgst.c
index e3edf302c3..7989a1dcd3 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -66,7 +66,6 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef BUFSIZE
#define BUFSIZE 1024*8
diff --git a/apps/dh.c b/apps/dh.c
index 603ea5b496..dc854264f0 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -69,7 +69,6 @@
#include <openssl/dh.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG dh_main
diff --git a/apps/dhparam.c b/apps/dhparam.c
index 00cf87bf6d..e55d0ce0cb 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -121,7 +121,6 @@
#include <openssl/dh.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
diff --git a/apps/dsa.c b/apps/dsa.c
index 09ddb23996..59aa0ea106 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -68,7 +68,6 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG dsa_main
diff --git a/apps/dsaparam.c b/apps/dsaparam.c
index 4196413217..84a5ac6286 100644
--- a/apps/dsaparam.c
+++ b/apps/dsaparam.c
@@ -69,7 +69,6 @@
#include <openssl/dsa.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG dsaparam_main
diff --git a/apps/enc.c b/apps/enc.c
index 3c72d05c6c..a8b33874b0 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -67,7 +67,6 @@
#include <openssl/x509.h>
#include <openssl/rand.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#include <ctype.h>
int set_hex(char *in,unsigned char *out,int size);
diff --git a/apps/gendh.c b/apps/gendh.c
index e8f8493c5f..83cbff9120 100644
--- a/apps/gendh.c
+++ b/apps/gendh.c
@@ -70,7 +70,6 @@
#include <openssl/dh.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#define DEFBITS 512
#undef PROG
diff --git a/apps/gendsa.c b/apps/gendsa.c
index b990eecbd2..6b74142991 100644
--- a/apps/gendsa.c
+++ b/apps/gendsa.c
@@ -68,7 +68,6 @@
#include <openssl/dsa.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#define DEFBITS 512
#undef PROG
diff --git a/apps/genrsa.c b/apps/genrsa.c
index a5669de7ce..b5ae1beacf 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -69,7 +69,7 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
+#include <openssl/rand.h>
#define DEFBITS 512
#undef PROG
diff --git a/apps/openssl.c b/apps/openssl.c
index 0e179d9c33..1b3ffe4041 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -121,6 +121,7 @@
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
+#include <openssl/engine.h>
#define USE_SOCKETS /* needed for the _O_BINARY defs in the MS world */
#include "apps.h"
#include "progs.h"
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index d90cf59df7..cd9c02808a 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -66,7 +66,6 @@
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/pkcs12.h>
-#include <openssl/engine.h>
#define PROG pkcs12_main
diff --git a/apps/pkcs7.c b/apps/pkcs7.c
index a0b21341f5..1cc91509a2 100644
--- a/apps/pkcs7.c
+++ b/apps/pkcs7.c
@@ -67,7 +67,6 @@
#include <openssl/x509.h>
#include <openssl/pkcs7.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG pkcs7_main
diff --git a/apps/pkcs8.c b/apps/pkcs8.c
index cfc4851e00..c0becce903 100644
--- a/apps/pkcs8.c
+++ b/apps/pkcs8.c
@@ -62,7 +62,6 @@
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pkcs12.h>
-#include <openssl/engine.h>
#include "apps.h"
#define PROG pkcs8_main
diff --git a/apps/rand.c b/apps/rand.c
index faba057b77..04eee81b17 100644
--- a/apps/rand.c
+++ b/apps/rand.c
@@ -9,7 +9,6 @@
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/rand.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG rand_main
diff --git a/apps/req.c b/apps/req.c
index 60f09551e5..6fac16f97a 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -73,7 +73,6 @@
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#define SECTION "req"
diff --git a/apps/rsa.c b/apps/rsa.c
index 18964fedd2..8ae67bbac5 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -68,7 +68,6 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG rsa_main
diff --git a/apps/rsautl.c b/apps/rsautl.c
index 56025c5f0c..c04a2fcb9b 100644
--- a/apps/rsautl.c
+++ b/apps/rsautl.c
@@ -62,7 +62,6 @@
#include <string.h>
#include <openssl/err.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#define RSA_SIGN 1
#define RSA_VERIFY 2
diff --git a/apps/s_client.c b/apps/s_client.c
index ac5d2f10c2..7429a9b641 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -80,7 +80,7 @@ typedef unsigned int u_int;
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
+#include <openssl/rand.h>
#include "s_apps.h"
#ifdef OPENSSL_SYS_WINDOWS
diff --git a/apps/s_server.c b/apps/s_server.c
index d3685acfeb..cd1e8b4ee0 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -84,7 +84,7 @@ typedef unsigned int u_int;
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
-#include <openssl/engine.h>
+#include <openssl/rand.h>
#include "s_apps.h"
#ifdef OPENSSL_SYS_WINDOWS
diff --git a/apps/smime.c b/apps/smime.c
index 1ff4ed02fe..7c4aac1ef2 100644
--- a/apps/smime.c
+++ b/apps/smime.c
@@ -64,7 +64,6 @@
#include <openssl/crypto.h>
#include <openssl/pem.h>
#include <openssl/err.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG smime_main
diff --git a/apps/speed.c b/apps/speed.c
index 5c05e11d67..1dd4e46b36 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -81,7 +81,6 @@
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include <openssl/err.h>
-#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
diff --git a/apps/spkac.c b/apps/spkac.c
index d43dc9f3b9..fa5dc248c8 100644
--- a/apps/spkac.c
+++ b/apps/spkac.c
@@ -69,7 +69,6 @@
#include <openssl/lhash.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG spkac_main
diff --git a/apps/verify.c b/apps/verify.c
index b1a4dacb8b..d4bf0693c8 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -65,7 +65,6 @@
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG verify_main
diff --git a/apps/x509.c b/apps/x509.c
index 65b072cc9a..b2ea09d52f 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -73,7 +73,6 @@
#include <openssl/x509v3.h>
#include <openssl/objects.h>
#include <openssl/pem.h>
-#include <openssl/engine.h>
#undef PROG
#define PROG x509_main