diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/pk_pad/emsa.cpp | 2 |
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 |