From 8baaeba881d0cf86adeb0b052cc52a112cc3de8d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 17 May 2005 19:48:42 +0000 Subject: [PATCH] Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl knows about it. --- crypto/evp/evp.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1