diff options
author | Jack Lloyd <[email protected]> | 2018-08-02 08:38:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-08-02 08:38:33 -0400 |
commit | a574282bd588241257323b9cbe12ddc86485324d (patch) | |
tree | 167d5e3469715a974980c65179f4813cdd4cc65b /src/lib/tls | |
parent | 19cce473ad73fb1cadd5ee3a5ff5aa79ad384550 (diff) |
Accept PKCS1v15 as an alias for EMSA3
Not sure why it didn't have this already
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tls_handshake_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_handshake_state.cpp b/src/lib/tls/tls_handshake_state.cpp index ab023834b..d113276b3 100644 --- a/src/lib/tls/tls_handshake_state.cpp +++ b/src/lib/tls/tls_handshake_state.cpp @@ -429,7 +429,7 @@ Handshake_State::choose_sig_format(const Private_Key& key, { if(sig_algo == "RSA") { - const std::string padding = "EMSA3(Parallel(MD5,SHA-160))"; + const std::string padding = "PKCS1v15(Parallel(MD5,SHA-160))"; return std::make_pair(padding, IEEE_1363); } else if(sig_algo == "DSA" || sig_algo == "ECDSA") @@ -489,7 +489,7 @@ Handshake_State::parse_sig_format(const Public_Key& key, if(key_type == "RSA") { - const std::string padding = "EMSA3(Parallel(MD5,SHA-160))"; + const std::string padding = "PKCS1v15(Parallel(MD5,SHA-160))"; return std::make_pair(padding, IEEE_1363); } else if(key_type == "DSA" || key_type == "ECDSA") |