aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/bearssl/bearssl_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/prov/bearssl/bearssl_hash.cpp')
-rw-r--r--src/lib/prov/bearssl/bearssl_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/bearssl/bearssl_hash.cpp b/src/lib/prov/bearssl/bearssl_hash.cpp
index a0eb845f1..564935624 100644
--- a/src/lib/prov/bearssl/bearssl_hash.cpp
+++ b/src/lib/prov/bearssl/bearssl_hash.cpp
@@ -100,7 +100,7 @@ make_bearssl_hash(const std::string& name)
#endif
#if defined(BOTAN_HAS_SHA1)
- if(name == "SHA-160" || name == "SHA-1")
+ if(name == "SHA-160" || name == "SHA-1" || name == "SHA1")
return MAKE_BEARSSL_HASH(&br_sha1_vtable);
#endif