From a2d604c4f3ba2127d364ed0d776f0ce236c69c87 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 17 Oct 2016 11:16:40 -0400 Subject: Fix PSSR --- src/lib/pk_pad/emsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3