From d83acdebff0200dc20170eea5844d151785a72b5 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 7 Jun 2012 22:56:17 +0000 Subject: Cleanup, m_ namespace Secure_Renegotiation_State --- src/tls/tls_server.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tls/tls_server.cpp') diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp index 8cdd31074..f8d5894fb 100644 --- a/src/tls/tls_server.cpp +++ b/src/tls/tls_server.cpp @@ -287,9 +287,8 @@ void Server::process_handshake_msg(Handshake_Type type, else state->set_version(policy.pref_version()); - if(secure_renegotiation.renegotiation() && - !secure_renegotiation.supported() && - policy.require_secure_renegotiation()) + if(policy.require_secure_renegotiation() && + !(secure_renegotiation.initial_handshake() || secure_renegotiation.supported())) { delete state; state = nullptr; -- cgit v1.2.3