summaryrefslogtreecommitdiff
path: root/lib/libcrypto/engine
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-12-07 03:30:10 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-12-07 03:30:10 +0000
commitec27a807d9481d07c0fc601019b915ed97c3a054 (patch)
tree7304f781932999d142e4a8b44c9b5e2034eb3f4f /lib/libcrypto/engine
parentc6f0c99f4686f6fcb8ed166cfe40abb1ee199001 (diff)
Remove SHA0 check, as we did in v1.21 of sha.h.
This enables ENGINE_get_digest to work again with SHA1. noted by NARUSE, Yui, @nurse from github
Diffstat (limited to 'lib/libcrypto/engine')
-rw-r--r--lib/libcrypto/engine/eng_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/engine/eng_openssl.c b/lib/libcrypto/engine/eng_openssl.c
index a3baed38052..6154aebdee7 100644
--- a/lib/libcrypto/engine/eng_openssl.c
+++ b/lib/libcrypto/engine/eng_openssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eng_openssl.c,v 1.11 2015/08/28 01:06:09 beck Exp $ */
+/* $OpenBSD: eng_openssl.c,v 1.12 2015/12/07 03:30:09 bcook Exp $ */
/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
* project 2000.
*/
@@ -105,7 +105,7 @@
#undef TEST_ENG_OPENSSL_RC4_P_INIT
#undef TEST_ENG_OPENSSL_RC4_P_CIPHER
#endif
-#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA0) || defined(OPENSSL_NO_SHA1)
+#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA1)
#undef TEST_ENG_OPENSSL_SHA
#undef TEST_ENG_OPENSSL_SHA_OTHERS
#undef TEST_ENG_OPENSSL_SHA_P_INIT