aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/openssl/openssl_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/prov/openssl/openssl_hash.cpp')
-rw-r--r--src/lib/prov/openssl/openssl_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_hash.cpp b/src/lib/prov/openssl/openssl_hash.cpp
index 1b7bbb19b..08352b1ac 100644
--- a/src/lib/prov/openssl/openssl_hash.cpp
+++ b/src/lib/prov/openssl/openssl_hash.cpp
@@ -121,7 +121,7 @@ make_openssl_hash(const std::string& name)
#endif
#if defined(BOTAN_HAS_SHA1) && !defined(OPENSSL_NO_SHA)
- if(name == "SHA-160")
+ if(name == "SHA-160" || name == "SHA-1" || name == "SHA1")
return MAKE_OPENSSL_HASH(EVP_sha1);
#endif