diff options
author | Andy Polyakov <appro@openssl.org> | 2005-05-31 16:36:27 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-05-31 16:36:27 +0000 |
commit | 165fca51e0c03a5291995b8acc7612b4ca35a859 (patch) | |
tree | 1761da6558b26de1363521121359c74f98ca5d96 | |
parent | db6b4e379144d8f8d9db3477e36b90d4fd23a36e (diff) |
"Show" more respect to no-sha* config options.
PR: 1086
-rw-r--r-- | crypto/sha/sha1dgst.c | 1 | ||||
-rw-r--r-- | crypto/sha/sha256.c | 2 | ||||
-rw-r--r-- | crypto/sha/sha512.c | 2 | ||||
-rw-r--r-- | crypto/sha/sha_dgst.c | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c index 182f65982a..447ce53e17 100644 --- a/crypto/sha/sha1dgst.c +++ b/crypto/sha/sha1dgst.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include <openssl/opensslconf.h> #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) #undef SHA_0 diff --git a/crypto/sha/sha256.c b/crypto/sha/sha256.c index 5f3845f55c..bbc20da0e9 100644 --- a/crypto/sha/sha256.c +++ b/crypto/sha/sha256.c @@ -4,12 +4,12 @@ * according to the OpenSSL license [found in ../../LICENSE]. * ==================================================================== */ +#include <openssl/opensslconf.h> #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256) #include <stdlib.h> #include <string.h> -#include <openssl/opensslconf.h> #include <openssl/crypto.h> #include <openssl/sha.h> #include <openssl/opensslv.h> diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index c84bd5addf..f965cff692 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -4,6 +4,7 @@ * according to the OpenSSL license [found in ../../LICENSE]. * ==================================================================== */ +#include <openssl/opensslconf.h> #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA512) /* * IMPLEMENTATION NOTES. @@ -43,7 +44,6 @@ #include <stdlib.h> #include <string.h> -#include <openssl/opensslconf.h> #include <openssl/crypto.h> #include <openssl/sha.h> #include <openssl/opensslv.h> diff --git a/crypto/sha/sha_dgst.c b/crypto/sha/sha_dgst.c index 5a4b3ab204..60465d0c3e 100644 --- a/crypto/sha/sha_dgst.c +++ b/crypto/sha/sha_dgst.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include <openssl/opensslconf.h> #if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA) #undef SHA_1 |