mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 15:20:49 +02:00
Change no_renegotiation alert to warning level to match RFC 5246 7.2.2.
Fixes F-4113.
This commit is contained in:
+1
-1
@@ -18819,7 +18819,7 @@ int DoHandShakeMsgType(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||
if (ssl->options.handShakeState == HANDSHAKE_DONE && type == client_hello &&
|
||||
ssl->options.side == WOLFSSL_SERVER_END) {
|
||||
WOLFSSL_MSG("Renegotiation request rejected");
|
||||
SendAlert(ssl, alert_fatal, no_renegotiation);
|
||||
SendAlert(ssl, alert_warning, no_renegotiation);
|
||||
WOLFSSL_ERROR_VERBOSE(SECURE_RENEGOTIATION_E);
|
||||
return SECURE_RENEGOTIATION_E;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user