aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-17 11:16:40 -0400
committerJack Lloyd <[email protected]>2016-10-21 16:53:17 -0400
commita2d604c4f3ba2127d364ed0d776f0ce236c69c87 (patch)
tree6f4274a33d0055e3bc1028ceea7bf5d5654134ed
parent032f2f26b11c95490b1405fa957e12726654e7fd (diff)
Fix PSSR
-rw-r--r--src/lib/pk_pad/emsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pk_pad/emsa.cpp b/src/lib/pk_pad/emsa.cpp
index 719863557..66e58fb0d 100644
--- a/src/lib/pk_pad/emsa.cpp
+++ b/src/lib/pk_pad/emsa.cpp
@@ -71,7 +71,7 @@ EMSA* get_emsa(const std::string& algo_spec)
req.algo_name() == "PSS-MGF1" ||
req.algo_name() == "EMSA4")
{
- if(req.arg_count_between(2, 3))
+ if(req.arg_count_between(1, 3))
{
if(req.arg(1, "MGF1") != "MGF1")
return nullptr; // not supported