mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
tls13: cli: Rename STATUS_NOT_SENT to STATUS_NOT_INDICATED
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
fd4c0c8b3d
commit
840de7ff2f
@ -743,7 +743,7 @@ typedef enum {
|
||||
/*
|
||||
* See documentation of mbedtls_ssl_get_early_data_status().
|
||||
*/
|
||||
MBEDTLS_SSL_EARLY_DATA_STATUS_NO_IND_SENT,
|
||||
MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED,
|
||||
MBEDTLS_SSL_EARLY_DATA_STATUS_ACCEPTED,
|
||||
MBEDTLS_SSL_EARLY_DATA_STATUS_REJECTED,
|
||||
} mbedtls_ssl_early_data_status;
|
||||
@ -5310,8 +5310,8 @@ int mbedtls_ssl_write_early_data(mbedtls_ssl_context *ssl,
|
||||
* \return #MBEDTLS_ERR_SSL_BAD_INPUT_DATA if this function is called
|
||||
* prior to completion of the handshake.
|
||||
*
|
||||
* \return #MBEDTLS_SSL_EARLY_DATA_STATUS_NO_IND_SENT if the client has
|
||||
* not indicated the use of early data to the server.
|
||||
* \return #MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED if the client
|
||||
* has not indicated the use of early data to the server.
|
||||
*
|
||||
* \return #MBEDTLS_SSL_EARLY_DATA_STATUS_ACCEPTED if the client has
|
||||
* indicated the use of early data and the server has accepted
|
||||
|
@ -2327,7 +2327,7 @@ int mbedtls_ssl_get_early_data_status(mbedtls_ssl_context *ssl)
|
||||
|
||||
switch (ssl->early_data_state) {
|
||||
case MBEDTLS_SSL_EARLY_DATA_STATE_NO_IND_SENT:
|
||||
return MBEDTLS_SSL_EARLY_DATA_STATUS_NO_IND_SENT;
|
||||
return MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED;
|
||||
break;
|
||||
|
||||
case MBEDTLS_SSL_EARLY_DATA_STATE_REJECTED:
|
||||
|
@ -4125,7 +4125,7 @@ void tls13_cli_early_data_state(int scenario)
|
||||
break;
|
||||
|
||||
case TEST_EARLY_DATA_NO_INDICATION_SENT:
|
||||
TEST_EQUAL(ret, MBEDTLS_SSL_EARLY_DATA_STATUS_NO_IND_SENT);
|
||||
TEST_EQUAL(ret, MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED);
|
||||
break;
|
||||
|
||||
case TEST_EARLY_DATA_SERVER_REJECTS: /* Intentional fallthrough */
|
||||
|
Loading…
x
Reference in New Issue
Block a user