diff options
-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 |