TLS 1.3: don't group and wait on send session ticket

The state machine goes on and frees the handshake resources which frees
the digest for the client Finished message.
This commit is contained in:
Sean Parkinson
2021-01-20 10:57:37 +10:00
parent a13e9bde29
commit 7ec8d70eee

View File

@ -6696,8 +6696,10 @@ static int SendTls13NewSessionTicket(WOLFSSL* ssl)
ssl->buffers.outputBuffer.length += sendSz;
if (!ssl->options.groupMessages)
ret = SendBuffered(ssl);
/* Always send as this is either directly after server's Finished or only
* message after client's Finished.
*/
ret = SendBuffered(ssl);
WOLFSSL_LEAVE("SendTls13NewSessionTicket", 0);
WOLFSSL_END(WC_FUNC_NEW_SESSION_TICKET_SEND);