mirror of
https://github.com/espressif/mbedtls.git
synced 2026-09-01 07:59:56 +00:00
tls13: Use a flag not a counter for CCS and HRR handling
Reconcile with 5fbd27055d on another branch
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -793,7 +793,7 @@ static int ssl_prepare_client_hello(mbedtls_ssl_context *ssl)
|
||||
#endif
|
||||
{
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
if (ssl->handshake->hello_retry_request_count == 0)
|
||||
if (!ssl->handshake->hello_retry_request_flag)
|
||||
#endif
|
||||
{
|
||||
ret = ssl_generate_random(ssl);
|
||||
|
||||
Reference in New Issue
Block a user