mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +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 <gilles.peskine@arm.com>
This commit is contained in:
parent
7b8b696790
commit
93b305dc8e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user