mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
DTLS 1.3: Always reset state on HRR
This commit is contained in:
committed by
Marco Oliverio
parent
c72d315325
commit
d8e10d8ef4
@ -11632,8 +11632,7 @@ static int DtlsAcceptStateless(WOLFSSL *ssl)
|
|||||||
if (ssl->options.serverState ==
|
if (ssl->options.serverState ==
|
||||||
SERVER_HELLO_RETRY_REQUEST_COMPLETE) {
|
SERVER_HELLO_RETRY_REQUEST_COMPLETE) {
|
||||||
ret = SendTls13ServerHello(ssl, hello_retry_request);
|
ret = SendTls13ServerHello(ssl, hello_retry_request);
|
||||||
if (ret == 0 || ret == WANT_WRITE)
|
DtlsResetState(ssl);
|
||||||
DtlsResetState(ssl);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user