aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss
diff options
context:
space:
mode:
authorRenĂ© Fischer <[email protected]>2020-06-05 18:40:53 +0200
committerRenĂ© Fischer <[email protected]>2020-06-05 18:42:44 +0200
commitc681615785fd929a3f2d8543305fd8b29e6d0048 (patch)
treeeb5f6605ebab0843a4924f461b1df820987fda0d /src/lib/pubkey/xmss
parent774d51448143f184c3ef8eb5ae847d98911f4cae (diff)
Fix cppcheck findings
Diffstat (limited to 'src/lib/pubkey/xmss')
-rw-r--r--src/lib/pubkey/xmss/xmss_parameters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/xmss/xmss_parameters.cpp b/src/lib/pubkey/xmss/xmss_parameters.cpp
index 0654821fd..55084c8b9 100644
--- a/src/lib/pubkey/xmss/xmss_parameters.cpp
+++ b/src/lib/pubkey/xmss/xmss_parameters.cpp
@@ -32,7 +32,7 @@ XMSS_Parameters::xmss_algorithm_t XMSS_Parameters::xmss_id_from_string(const std
{ return XMSS_SHA2_20_512; }
if(param_set == "XMSS-SHAKE_10_256")
{ return XMSS_SHAKE_10_256; }
- if(param_set == "XMSS-SHAKE_10_256")
+ if(param_set == "XMSS-SHAKE_16_256")
{ return XMSS_SHAKE_16_256; }
if(param_set == "XMSS-SHAKE_20_256")
{ return XMSS_SHAKE_20_256; }