summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevitte <levitte>2002-10-14 10:02:23 +0000
committerlevitte <levitte>2002-10-14 10:02:23 +0000
commit57227d178fc62b0b93b84b1595cc13edb0e3341c (patch)
treedeeccce349e393633a691fdc9cf798093681e645
parent8c6a4bdd30870d0775e3b179c142ea6ad4854a01 (diff)
downloadopenssl-57227d178fc62b0b93b84b1595cc13edb0e3341c.tar.gz
makedepend complains when a header file is included more than once in
the same source file.
-rw-r--r--apps/passwd.c1
-rw-r--r--apps/pkcs8.c1
-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
-rw-r--r--ssl/ssl.h2
8 files changed, 1 insertions, 10 deletions
diff --git a/apps/passwd.c b/apps/passwd.c
index ad8e7b034..0c2cf62e8 100644
--- a/apps/passwd.c
+++ b/apps/passwd.c
@@ -19,7 +19,6 @@
# include <openssl/des.h>
#endif
#ifndef NO_MD5CRYPT_1
-# include <openssl/evp.h>
# include <openssl/md5.h>
#endif
diff --git a/apps/pkcs8.c b/apps/pkcs8.c
index 912e32006..f86474dd2 100644
--- a/apps/pkcs8.c
+++ b/apps/pkcs8.c
@@ -63,7 +63,6 @@
#include <openssl/evp.h>
#include <openssl/pkcs12.h>
-#include "apps.h"
#define PROG pkcs8_main
int MAIN(int, char **);
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index e870948e8..599cc8bb1 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 67b1279b9..aa58dab04 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 45fa61834..e28951cbc 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 c156663f0..81e34bd6c 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 7a2c8db1b..3ac3c5a4a 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>
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 4bbe612ac..dca624091 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -321,9 +321,7 @@ extern "C" {
#include <openssl/crypto.h>
#include <openssl/lhash.h>
#include <openssl/buffer.h>
-#include <openssl/bio.h>
#include <openssl/pem.h>
-#include <openssl/x509.h>
#ifdef __cplusplus
extern "C" {