diff options
Diffstat (limited to 'src/tls/tls_server.cpp')
-rw-r--r-- | src/tls/tls_server.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp index ac16aa42e..59e7286ac 100644 --- a/src/tls/tls_server.cpp +++ b/src/tls/tls_server.cpp @@ -149,16 +149,13 @@ void TLS_Server::process_handshake_msg(Handshake_Type type, { // resume session - // FIXME: should only send the resumed ciphersuite - // (eg even if policy object changed) state->server_hello = new Server_Hello( rng, writer, - policy, - cert_chain, - *(state->client_hello), - state->client_hello->session_id(), - state->version, + session_info.session_id, + session_info.ciphersuite, + session_info.compression_method, + Version_Code(session_info.version), state->hash); state->suite = CipherSuite(state->server_hello->ciphersuite()); |