diff options
author | Richard Levitte <levitte@openssl.org> | 2002-10-14 10:02:36 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-10-14 10:02:36 +0000 |
commit | 677532629d84e39f4cb8edfe017fbfc8120d45d0 (patch) | |
tree | 81136eaf5d5ec7404c11d00a3c5c385df2ba1534 | |
parent | 57d8ff79b27e0b5ed33220f605e714a921db998b (diff) |
makedepend complains when a header file is included more than once in
the same source file.
-rw-r--r-- | apps/passwd.c | 1 | ||||
-rw-r--r-- | apps/pkcs8.c | 1 | ||||
-rw-r--r-- | crypto/asn1/asn1.h | 1 | ||||
-rw-r--r-- | crypto/bio/bss_bio.c | 1 | ||||
-rw-r--r-- | crypto/engine/eng_openssl.c | 3 | ||||
-rw-r--r-- | crypto/err/err_prn.c | 1 | ||||
-rw-r--r-- | crypto/x509/x509.h | 1 | ||||
-rw-r--r-- | ssl/ssl.h | 2 |
8 files changed, 1 insertions, 10 deletions
diff --git a/apps/passwd.c b/apps/passwd.c index ad8e7b0349..0c2cf62e8b 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 912e32006b..f86474dd25 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 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> @@ -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" { |