Skip to content

Commit 6230c29

Browse files
authored
Merge pull request #7190 from SparkiDev/tls13_hrrcookie_fix
TLS 1.3, HRR Cookie: send cookie back in new ClientHello
2 parents 32aecf4 + f48eb63 commit 6230c29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6479,7 +6479,7 @@ static int TLSX_Cookie_Parse(WOLFSSL* ssl, const byte* input, word16 length,
64796479
return BUFFER_E;
64806480

64816481
if (msgType == hello_retry_request)
6482-
return TLSX_Cookie_Use(ssl, input + idx, len, NULL, 0, 0,
6482+
return TLSX_Cookie_Use(ssl, input + idx, len, NULL, 0, 1,
64836483
&ssl->extensions);
64846484

64856485
/* client_hello */

0 commit comments

Comments
 (0)