Merge pull request #3666 from SparkiDev/tls13_tick_before_group

TLS 1.3: don't group and wait on send session ticket
This commit is contained in:
toddouska
2021-01-21 15:49:52 -08:00
committed by GitHub

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);