From a574282bd588241257323b9cbe12ddc86485324d Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Thu, 2 Aug 2018 08:38:33 -0400 Subject: Accept PKCS1v15 as an alias for EMSA3 Not sure why it didn't have this already --- src/lib/pk_pad/emsa.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/pk_pad') diff --git a/src/lib/pk_pad/emsa.cpp b/src/lib/pk_pad/emsa.cpp index 126e1421d..52ef268af 100644 --- a/src/lib/pk_pad/emsa.cpp +++ b/src/lib/pk_pad/emsa.cpp @@ -55,8 +55,9 @@ EMSA* get_emsa(const std::string& algo_spec) #if defined(BOTAN_HAS_EMSA_PKCS1) if(req.algo_name() == "EMSA_PKCS1" || - req.algo_name() == "EMSA-PKCS1-v1_5" || - req.algo_name() == "EMSA3") + req.algo_name() == "PKCS1v15" || + req.algo_name() == "EMSA-PKCS1-v1_5" || + req.algo_name() == "EMSA3") { if(req.arg_count() == 2 && req.arg(0) == "Raw") { -- cgit v1.2.3