diff options
author | lloyd <[email protected]> | 2013-12-25 22:15:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-25 22:15:32 +0000 |
commit | e4987a3b83a6ae95fee839ab84c70f1f1da2bc88 (patch) | |
tree | 2947466e739f10ddba30a85a6db11cb62941acf6 /src/tls/tls_handshake_state.cpp | |
parent | e72c0d999d0784ce2610e4bed471f4483da72943 (diff) |
Move add_alias and deref_alias from Library_State to SCAN_Name
Diffstat (limited to 'src/tls/tls_handshake_state.cpp')
-rw-r--r-- | src/tls/tls_handshake_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_handshake_state.cpp b/src/tls/tls_handshake_state.cpp index 8b5de810f..84b22cc09 100644 --- a/src/tls/tls_handshake_state.cpp +++ b/src/tls/tls_handshake_state.cpp @@ -296,7 +296,7 @@ std::string choose_hash(const std::string& sig_algo, return "Raw"; if(sig_algo == "RSA") - return "TLS.Digest.0"; + return "Parallel(MD5,SHA-160)"; if(sig_algo == "DSA") return "SHA-1"; @@ -412,7 +412,7 @@ Handshake_State::understand_sig_format(const Public_Key& key, } else if(!this->version().supports_negotiable_signature_algorithms()) { - hash_algo = "TLS.Digest.0"; + hash_algo = "Parallel(MD5,SHA-160)"; } const std::string padding = "EMSA3(" + hash_algo + ")"; |