Remove ticket_flags

It should be added later.

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-07-20 10:38:27 +08:00
parent 08aed4def9
commit b14413804a
2 changed files with 0 additions and 5 deletions

View File

@ -1174,7 +1174,6 @@ struct mbedtls_ssl_session
#endif /* MBEDTLS_SSL_SESSION_TICKETS && MBEDTLS_SSL_CLI_C */
#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && defined(MBEDTLS_SSL_SESSION_TICKETS)
uint8_t MBEDTLS_PRIVATE(ticket_flags); /*!< Ticket flags */
uint32_t MBEDTLS_PRIVATE(ticket_age_add); /*!< Randomly generated value used to obscure the age of the ticket */
uint8_t MBEDTLS_PRIVATE(key_len); /*!< PSK key length */

View File

@ -101,10 +101,6 @@
#define MBEDTLS_SSL_EXT_SIG_ALG_CERT ( 1 << 20 )
#define MBEDTLS_SSL_EXT_KEY_SHARE ( 1 << 21 )
#define MBEDTLS_SSL_TICKET_FLAG_ALLOW_EARLY_DATA ( 1 << 0 )
#define MBEDTLS_SSL_TICKET_FLAG_ALLOW_DHE_RESUMPTION ( 1 << 1 )
#define MBEDTLS_SSL_TICKET_FLAG_ALLOW_PSK_RESUMPTION ( 1 << 2 )
/*
* Helper macros for function call with return check.
*/