From a7b83b06c171d6dbc701453613ffb85f9cbf217c Mon Sep 17 00:00:00 2001 From: Kareem Date: Fri, 26 Dec 2025 15:23:23 -0700 Subject: [PATCH] Alert on out of order message with unexpected_message. Fixes #9531. --- src/internal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal.c b/src/internal.c index 841e49fc8..b555bdcdb 100644 --- a/src/internal.c +++ b/src/internal.c @@ -35262,6 +35262,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx, return wolfssl_alert_protocol_version; case WC_NO_ERR_TRACE(BAD_CERTIFICATE_STATUS_ERROR): return bad_certificate_status_response; + case WC_NO_ERR_TRACE(OUT_OF_ORDER_E): + return unexpected_message; default: return invalid_alert; }