Merge branch 'master' of https://github.com/wolfSSL/wolfssl into ESP32_HW_Update_PR

This commit is contained in:
gojimmypi
2022-07-06 09:32:07 -07:00

View File

@@ -10834,8 +10834,10 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl)
ssl->keys.dtls_handshake_number = 0;
ssl->msgsReceived.got_client_hello = 0;
#ifdef WOLFSSL_SEND_HRR_COOKIE
/* Remove cookie so that it will get computed again */
TLSX_Remove(&ssl->extensions, TLSX_COOKIE, ssl->heap);
#endif
/* Reset states */
ssl->options.serverState = NULL_STATE;