diff options
author | lloyd <[email protected]> | 2012-01-23 21:51:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-23 21:51:18 +0000 |
commit | 01039638f8b5387540c4bacd4d236a8b8e806d0f (patch) | |
tree | 4aada3b77da95061b8a6778b23afbd3569696392 /src/tls/tls_server.cpp | |
parent | a12a50cc0eaf5113d2f0687f4c1d4be5ff820838 (diff) |
Add Ciphersuite::to_string
Add a convenience function to Session that returns the ciphersuite
class since mostly users won't care about the underlying code point.
Diffstat (limited to 'src/tls/tls_server.cpp')
-rw-r--r-- | src/tls/tls_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp index 54873e682..cd7888c8b 100644 --- a/src/tls/tls_server.cpp +++ b/src/tls/tls_server.cpp @@ -36,7 +36,7 @@ bool check_for_resume(Session& session_info, // client didn't send original ciphersuite if(!value_exists(client_hello->ciphersuites(), - session_info.ciphersuite())) + session_info.ciphersuite_code())) return false; // client didn't send original compression method @@ -185,7 +185,7 @@ void Server::process_handshake_msg(Handshake_Type type, state->hash, session_info.session_id(), Protocol_Version(session_info.version()), - session_info.ciphersuite(), + session_info.ciphersuite_code(), session_info.compression_method(), session_info.fragment_size(), secure_renegotiation.supported(), |