summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-11-22 12:50:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-11-22 12:50:59 +0000
commita310428527671f43142d551b96438b5d3db318d7 (patch)
tree805edf38c91d165ab21a891909480fc75a3ab7e9 /crypto/evp
parent7e0fd45ce3daa5cce7f7ea1b7dc14fc61ed21104 (diff)
Workaround so "make depend" works for fips builds.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/evp_locl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/evp/evp_locl.h b/crypto/evp/evp_locl.h
index 620c551f80..53308446e9 100644
--- a/crypto/evp/evp_locl.h
+++ b/crypto/evp/evp_locl.h
@@ -349,6 +349,16 @@ int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
const EVP_CIPHER *c, const EVP_MD *md, int en_de);
#ifdef OPENSSL_FIPS
+
+#ifdef OPENSSL_DOING_MAKEDEPEND
+#undef SHA1_Init
+#undef SHA224_Init
+#undef SHA256_Init
+#undef SHA384_Init
+#undef SHA512_Init
+#undef DES_set_key_unchecked
+#endif
+
#define RIPEMD160_Init private_RIPEMD160_Init
#define WHIRLPOOL_Init private_WHIRLPOOL_Init
#define MD5_Init private_MD5_Init