summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-10-14 10:02:36 +0000
committerRichard Levitte <levitte@openssl.org>2002-10-14 10:02:36 +0000
commit677532629d84e39f4cb8edfe017fbfc8120d45d0 (patch)
tree81136eaf5d5ec7404c11d00a3c5c385df2ba1534 /crypto
parent57d8ff79b27e0b5ed33220f605e714a921db998b (diff)
makedepend complains when a header file is included more than once in
the same source file.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/asn1.h1
-rw-r--r--crypto/bio/bss_bio.c1
-rw-r--r--crypto/engine/eng_openssl.c3
-rw-r--r--crypto/err/err_prn.c1
-rw-r--r--crypto/x509/x509.h1
5 files changed, 1 insertions, 6 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index e870948e8d..599cc8bb14 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -70,7 +70,6 @@
#include <openssl/symhacks.h>
-#include <openssl/e_os2.h>
#include <openssl/ossl_typ.h>
#ifdef OPENSSL_BUILD_SHLIBCRYPTO
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c
index 67b1279b99..aa58dab046 100644
--- a/crypto/bio/bss_bio.c
+++ b/crypto/bio/bss_bio.c
@@ -28,7 +28,6 @@
#include <openssl/bio.h>
#include <openssl/err.h>
-#include <openssl/err.h>
#include <openssl/crypto.h>
#include "e_os.h"
diff --git a/crypto/engine/eng_openssl.c b/crypto/engine/eng_openssl.c
index 45fa61834b..e28951cbc4 100644
--- a/crypto/engine/eng_openssl.c
+++ b/crypto/engine/eng_openssl.c
@@ -68,6 +68,7 @@
#include <openssl/engine.h>
#include <openssl/dso.h>
#include <openssl/pem.h>
+#include <openssl/evp.h>
/* This testing gunk is implemented (and explained) lower down. It also assumes
* the application explicitly calls "ENGINE_load_openssl()" because this is no
@@ -191,7 +192,6 @@ IMPLEMENT_DYNAMIC_BIND_FN(bind_fn)
* the "init_key" handler is called.
* TEST_ENG_OPENSSL_RC4_P_CIPHER - ditto for the "cipher" handler.
*/
-#include <openssl/evp.h>
#include <openssl/rc4.h>
#define TEST_RC4_KEY_SIZE 16
static int test_cipher_nids[] = {NID_rc4,NID_rc4_40};
@@ -276,7 +276,6 @@ static int openssl_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
#ifdef TEST_ENG_OPENSSL_SHA
/* Much the same sort of comment as for TEST_ENG_OPENSSL_RC4 */
-#include <openssl/evp.h>
#include <openssl/sha.h>
static int test_digest_nids[] = {NID_sha1};
static int test_digest_nids_number = 1;
diff --git a/crypto/err/err_prn.c b/crypto/err/err_prn.c
index c156663f0e..81e34bd6ce 100644
--- a/crypto/err/err_prn.c
+++ b/crypto/err/err_prn.c
@@ -62,7 +62,6 @@
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/err.h>
-#include <openssl/crypto.h>
void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u),
void *u)
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 7a2c8db1b0..3ac3c5a4a4 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -104,7 +104,6 @@
#ifndef OPENSSL_NO_SHA
#include <openssl/sha.h>
#endif
-#include <openssl/evp.h>
#include <openssl/e_os2.h>
#include <openssl/ossl_typ.h>