From: Dr. Stephen Henson Date: Tue, 17 May 2005 19:48:42 +0000 (+0000) Subject: Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl X-Git-Tag: BEN_FIPS_TEST_8~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8baaeba881d0cf86adeb0b052cc52a112cc3de8d;p=openssl Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl knows about it. --- diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 4c165f8ddf..058dae0908 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -646,6 +646,7 @@ const EVP_MD *EVP_sha(void); const EVP_MD *EVP_sha1(void); const EVP_MD *EVP_dss(void); const EVP_MD *EVP_dss1(void); +#ifdef OPENSSL_FIPS #ifndef OPENSSL_NO_SHA256 const EVP_MD *EVP_sha224(void); const EVP_MD *EVP_sha256(void); @@ -655,6 +656,7 @@ const EVP_MD *EVP_sha384(void); const EVP_MD *EVP_sha512(void); #endif #endif +#endif #ifndef OPENSSL_NO_MDC2 const EVP_MD *EVP_mdc2(void); #endif