projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3cd24
)
PR: 1965
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 1 Jul 2009 11:35:46 +0000
(11:35 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 1 Jul 2009 11:35:46 +0000
(11:35 +0000)
Submitted by: David McCullough <david_mccullough@securecomputing.com>
Approved by: steve@openssl.org
Make sure defines to remove SHA are correct.
crypto/evp/c_alld.c
patch
|
blob
|
history
diff --git
a/crypto/evp/c_alld.c
b/crypto/evp/c_alld.c
index 5032e7c2f014f3720d92098491d6d887c748282c..aa565a652d2ac3477a47c2a20d3e79fe0b94ce06 100644
(file)
--- 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
-#if
ndef 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);