NewSessionTicket parsing error fix

This commit is contained in:
Sean Parkinson
2018-05-04 08:18:54 +10:00
parent a2fa61cd3d
commit 69ce10f292

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. */