From 7a37dd92ed65b8ffbef64269deff3aee15c7043b Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 31 May 2005 16:33:43 +0000 Subject: [PATCH] "Show" more respect to no-sha* config options. PR: 1086 --- crypto/sha/sha1dgst.c | 1 + crypto/sha/sha256.c | 2 +- crypto/sha/sha512.c | 2 +- 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 #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 #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256) #include #include -#include #include #include #include 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 #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA512) /* * IMPLEMENTATION NOTES. @@ -43,7 +44,6 @@ #include #include -#include #include #include #include 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 #if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA) #undef SHA_1 -- 2.25.1