Address some format issues
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
f447e8a8d3
commit
a042b8406d
2 changed files with 5 additions and 7 deletions
|
@ -77,10 +77,6 @@
|
|||
/* Faked handshake message identity for HelloRetryRequest. */
|
||||
#define MBEDTLS_SSL_TLS1_3_HS_HELLO_RETRY_REQUEST ( -MBEDTLS_SSL_HS_SERVER_HELLO )
|
||||
|
||||
/* Early data indication sent or not */
|
||||
#define MBEDTLS_SSL_EARLY_DATA_OFF 0
|
||||
#define MBEDTLS_SSL_EARLY_DATA_ON 1
|
||||
|
||||
/*
|
||||
* Internal identity of handshake extensions
|
||||
*/
|
||||
|
|
|
@ -1182,8 +1182,10 @@ int mbedtls_ssl_tls13_write_client_hello_exts( mbedtls_ssl_context *ssl,
|
|||
return( ret );
|
||||
p += ext_len;
|
||||
|
||||
/* Initializes the status to `indication sent`. Changes it to `accepted`
|
||||
* when `early_data` is received in EncryptedExtesion. */
|
||||
/* Initializes the status to `indication sent`. It will be updated to
|
||||
* `accepted` or `rejected` depend on whether the EncryptedExtension
|
||||
* message will contain an early data indication extension or not.
|
||||
*/
|
||||
ssl->early_data_status = MBEDTLS_SSL_EARLY_DATA_STATUS_INDICATION_SENT;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue