mirror of https://github.com/wolfSSL/wolfssl.git
DTLS 1.3: Clear ssl->dtls13SendingAckOrRtx in ssl.c
parent
3c60926bfa
commit
145086f776
|
@ -165,4 +165,5 @@ if [ ! -z $DTLS13_DO_DELAY_TEST ];then
|
|||
test_time_delays
|
||||
fi
|
||||
|
||||
|
||||
echo
|
||||
echo "All tests SUCCEEDED!!!"
|
||||
|
|
|
@ -12407,6 +12407,10 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
|
|||
WOLFSSL_ERROR(ssl->error);
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
}
|
||||
#ifdef WOLFSSL_DTLS13
|
||||
if (ssl->options.dtls)
|
||||
ssl->dtls13SendingAckOrRtx = 0;
|
||||
#endif /* WOLFSSL_DTLS13 */
|
||||
}
|
||||
|
||||
ret = RetrySendAlert(ssl);
|
||||
|
@ -12949,6 +12953,10 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl,
|
|||
WOLFSSL_ERROR(ssl->error);
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
}
|
||||
#ifdef WOLFSSL_DTLS13
|
||||
if (ssl->options.dtls)
|
||||
ssl->dtls13SendingAckOrRtx = 0;
|
||||
#endif /* WOLFSSL_DTLS13 */
|
||||
}
|
||||
|
||||
ret = RetrySendAlert(ssl);
|
||||
|
|
|
@ -6080,7 +6080,7 @@ int SendTls13ServerHello(WOLFSSL* ssl, byte extMsgType)
|
|||
WOLFSSL_ENTER("SendTls13ServerHello");
|
||||
|
||||
if (extMsgType == hello_retry_request) {
|
||||
WOLFSSL_MSG("wolfSSL Doing HelloRetryRequest");
|
||||
WOLFSSL_MSG("wolfSSL Sending HelloRetryRequest");
|
||||
if ((ret = RestartHandshakeHash(ssl)) < 0)
|
||||
return ret;
|
||||
}
|
||||
|
@ -10592,7 +10592,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
|
|||
}
|
||||
#ifdef WOLFSSL_DTLS13
|
||||
if (ssl->options.dtls)
|
||||
ssl->dtls13SendingAckOrRtx =0;
|
||||
ssl->dtls13SendingAckOrRtx = 0;
|
||||
#endif /* WOLFSSL_DTLS13 */
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue