Skip to content

Commit a7b83b0

Browse files
Alert on out of order message with unexpected_message.
Fixes #9531.
1 parent e70e7cb commit a7b83b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/internal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35262,6 +35262,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
3526235262
return wolfssl_alert_protocol_version;
3526335263
case WC_NO_ERR_TRACE(BAD_CERTIFICATE_STATUS_ERROR):
3526435264
return bad_certificate_status_response;
35265+
case WC_NO_ERR_TRACE(OUT_OF_ORDER_E):
35266+
return unexpected_message;
3526535267
default:
3526635268
return invalid_alert;
3526735269
}

0 commit comments

Comments
 (0)