Skip to content

Commit f48eb63

Browse files
committed
TLS 1.3, HRR Cookie: send cookie back in new ClientHello
Make it mandatory that the cookie is sent back in new ClientHello when seen in a HelloRetryRequest.
1 parent 3064d72 commit f48eb63

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)