aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_client.cpp')
-rw-r--r--src/tls/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp
index 15e3ab56b..e24e9739b 100644
--- a/src/tls/tls_client.cpp
+++ b/src/tls/tls_client.cpp
@@ -168,7 +168,7 @@ void Client::process_handshake_msg(const Handshake_State* active_state,
(!m_policy.allow_insecure_renegotiation() && !secure_renegotiation_supported()))
{
// RFC 5746 section 4.2
- send_alert(Alert(Alert::NO_RENEGOTIATION));
+ send_warning_alert(Alert::NO_RENEGOTIATION);
return;
}