mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
tls13: cli: Rename STATE_UNKNOWN to STATE_IDLE
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -750,10 +750,10 @@ typedef enum {
|
||||
|
||||
typedef enum {
|
||||
/*
|
||||
* The client has not sent the first ClientHello yet, it is unknown if the
|
||||
* client will send an early data indication extension or not.
|
||||
* The client has not sent the first ClientHello yet, the negotiation of early
|
||||
* data has not started yet.
|
||||
*/
|
||||
MBEDTLS_SSL_EARLY_DATA_STATE_UNKNOWN,
|
||||
MBEDTLS_SSL_EARLY_DATA_STATE_IDLE,
|
||||
|
||||
/*
|
||||
* The client has not indicated the use of early data to the server.
|
||||
@@ -1756,7 +1756,7 @@ struct mbedtls_ssl_context {
|
||||
#if defined(MBEDTLS_SSL_EARLY_DATA) && defined(MBEDTLS_SSL_CLI_C)
|
||||
/**
|
||||
* State of the negotiation and transfer of early data. Reset to
|
||||
* MBEDTLS_SSL_EARLY_DATA_STATE_UNKNOWN when the context is reset.
|
||||
* MBEDTLS_SSL_EARLY_DATA_STATE_IDLE when the context is reset.
|
||||
*/
|
||||
mbedtls_ssl_early_data_state MBEDTLS_PRIVATE(early_data_state);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user