mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
@@ -11675,6 +11675,8 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_DTLS
|
||||
if (ssl->options.serverState ==
|
||||
SERVER_HELLOVERIFYREQUEST_COMPLETE) {
|
||||
if (IsDtlsNotSctpMode(ssl)) {
|
||||
/* re-init hashes, exclude first hello and verify request */
|
||||
if ((ssl->error = InitHandshakeHashes(ssl)) != 0) {
|
||||
@@ -11686,6 +11688,7 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ssl->options.connectState = HELLO_AGAIN_REPLY;
|
||||
|
Reference in New Issue
Block a user