Merge pull request #1584 from SparkiDev/tls_many_nst

Allow multiple NewSessionTicket messages
This commit is contained in:
toddouska
2018-05-29 13:43:59 -07:00
committed by GitHub

View File

@@ -6725,10 +6725,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;