Move EARLY_DATA_OFF/ON guard to ssl_misc.h
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
b781a2323c
commit
338f727683
2 changed files with 4 additions and 3 deletions
|
@ -332,9 +332,6 @@
|
||||||
#define MBEDTLS_SSL_EARLY_DATA_DISABLED 0
|
#define MBEDTLS_SSL_EARLY_DATA_DISABLED 0
|
||||||
#define MBEDTLS_SSL_EARLY_DATA_ENABLED 1
|
#define MBEDTLS_SSL_EARLY_DATA_ENABLED 1
|
||||||
|
|
||||||
#define MBEDTLS_SSL_EARLY_DATA_OFF 0
|
|
||||||
#define MBEDTLS_SSL_EARLY_DATA_ON 1
|
|
||||||
|
|
||||||
#define MBEDTLS_SSL_DTLS_SRTP_MKI_UNSUPPORTED 0
|
#define MBEDTLS_SSL_DTLS_SRTP_MKI_UNSUPPORTED 0
|
||||||
#define MBEDTLS_SSL_DTLS_SRTP_MKI_SUPPORTED 1
|
#define MBEDTLS_SSL_DTLS_SRTP_MKI_SUPPORTED 1
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,10 @@
|
||||||
/* Faked handshake message identity for HelloRetryRequest. */
|
/* Faked handshake message identity for HelloRetryRequest. */
|
||||||
#define MBEDTLS_SSL_TLS1_3_HS_HELLO_RETRY_REQUEST ( -MBEDTLS_SSL_HS_SERVER_HELLO )
|
#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
|
* Internal identity of handshake extensions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue