aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-31 10:39:23 -0500
committerJack Lloyd <[email protected]>2019-01-31 10:39:38 -0500
commit9cc1d65a35d150ec780dbc6c780dd0dec5fe328c (patch)
tree47e449bffcd87ca8c221b3cfabb570940e06b7e1 /src/lib
parent8c835b3b1238083c4b4bb4a90e4d9e9b38dffb11 (diff)
Recognize BLAKE2b also [ci skip]
See #1822
Diffstat (limited to 'src/lib')
-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)));