Allow multiple NewSessionTicket messages

Interopability testing with OpenSSL
This commit is contained in:
Sean Parkinson 2018-05-28 09:18:26 +10:00
parent 453daee965
commit 1d8fb7be82

View File

@ -6688,10 +6688,6 @@ static int SanityCheckTls13MsgReceived(WOLFSSL* ssl, byte type)
WOLFSSL_MSG("NewSessionTicket received out of order");
return OUT_OF_ORDER_E;
}
if (ssl->msgsReceived.got_session_ticket) {
WOLFSSL_MSG("Duplicate NewSessionTicket received");
return DUPLICATE_MSG_E;
}
ssl->msgsReceived.got_session_ticket = 1;
break;