Change no_renegotiation alert to warning level to match RFC 5246 7.2.2.

Fixes F-4113.
This commit is contained in:
Kareem
2026-06-04 17:15:06 -07:00
parent 8e268dee13
commit 147c808562
+1 -1
View File
@@ -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;
}