aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash')
-rw-r--r--src/lib/hash/hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/hash.cpp b/src/lib/hash/hash.cpp
index ad1a1bf0c..ab29e6772 100644
--- a/src/lib/hash/hash.cpp
+++ b/src/lib/hash/hash.cpp
@@ -261,7 +261,7 @@ std::unique_ptr<HashFunction> HashFunction::create(const std::string& algo_spec,
#endif
#if defined(BOTAN_HAS_BLAKE2B)
- if(req.algo_name() == "Blake2b")
+ if(req.algo_name() == "Blake2b" || req.algo_name() == "BLAKE2b")
{
return std::unique_ptr<HashFunction>(
new Blake2b(req.arg_as_integer(0, 512)));