Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl
authorDr. Stephen Henson <steve@openssl.org>
Tue, 17 May 2005 19:48:42 +0000 (19:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 17 May 2005 19:48:42 +0000 (19:48 +0000)
knows about it.

crypto/evp/evp.h

index 4c165f8ddfdd512f1dc9452be66b54d76a987b3f..058dae09088496598cbc0d72362609ba33c8249b 100644 (file)
@@ -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