diff --git a/scripts/dtls13.test b/scripts/dtls13.test index 732eafddc..23ab99853 100755 --- a/scripts/dtls13.test +++ b/scripts/dtls13.test @@ -165,4 +165,5 @@ if [ ! -z $DTLS13_DO_DELAY_TEST ];then test_time_delays fi - +echo +echo "All tests SUCCEEDED!!!" diff --git a/src/ssl.c b/src/ssl.c index 33a8544da..736e93f15 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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); diff --git a/src/tls13.c b/src/tls13.c index dd324dc60..725212915 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -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 */ }