Merge pull request #1540 from SparkiDev/tls13_ticket_fix

NewSessionTicket parsing error fix
This commit is contained in:
toddouska
2018-05-04 10:54:23 -07:00
committed by GitHub

View File

@@ -6312,7 +6312,7 @@ static int DoTls13NewSessionTicket(WOLFSSL* ssl, const byte* input,
if ((*inOutIdx - begin) + nonceLength > size)
return BUFFER_ERROR;
nonce = input + *inOutIdx;
*inOutIdx += 1;
*inOutIdx += nonceLength;
#endif
/* Ticket length. */