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