aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_server.cpp')
-rw-r--r--src/tls/tls_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp
index 0e26ad31c..109835e4a 100644
--- a/src/tls/tls_server.cpp
+++ b/src/tls/tls_server.cpp
@@ -395,6 +395,8 @@ void TLS_Server::process_handshake_msg(Handshake_Type type,
if(handshake_fn(session_info))
session_manager.save(session_info);
+ else
+ session_manager.remove_entry(session_info.session_id());
secure_renegotiation.update(state->client_finished,
state->server_finished);