From 69ce10f292394450bf18462ca165d81b3a03460c Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Fri, 4 May 2018 08:18:54 +1000 Subject: [PATCH] NewSessionTicket parsing error fix --- src/tls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls13.c b/src/tls13.c index 371cd4e69..337cd343e 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -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. */