Skip to content

Commit

Permalink
Enable early data
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
  • Loading branch information
yuhaoth committed Nov 16, 2022
1 parent d8c8f22 commit f5d4b3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/configs/tls13-only.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
#define MBEDTLS_SSL_PROTO_TLS1_3
#define MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE

#if defined(MBEDTLS_SSL_SESSION_TICKETS) && \
( defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED) || \
defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED) )
#define MBEDTLS_SSL_EARLY_DATA
#endif

/* Disable TLS 1.2 and 1.2-specific features */
#undef MBEDTLS_SSL_ENCRYPT_THEN_MAC
#undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET
Expand Down

0 comments on commit f5d4b3b

Please sign in to comment.