summaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_alld.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-01 11:40:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-07-01 11:40:19 +0000
commit9a6d8ee5b5778f42b5f5d8a97784f6bbf955e083 (patch)
treec0f1dd43fc5b12360a3dbcfc3de11354bf87b2ee /crypto/evp/c_alld.c
parent9458530d450e80637c17d5a984ded8f0e4e0fa33 (diff)
Update from 1.0.0-stable
Diffstat (limited to 'crypto/evp/c_alld.c')
-rw-r--r--crypto/evp/c_alld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c
index 5032e7c2f0..aa565a652d 100644
--- a/crypto/evp/c_alld.c
+++ b/crypto/evp/c_alld.c
@@ -81,7 +81,7 @@ void OpenSSL_add_all_digests(void)
EVP_add_digest(EVP_dss());
#endif
#endif
-#ifndef OPENSSL_NO_SHA
+#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1)
EVP_add_digest(EVP_sha1());
EVP_add_digest_alias(SN_sha1,"ssl3-sha1");
EVP_add_digest_alias(SN_sha1WithRSAEncryption,SN_sha1WithRSA);