From 4ef4c89af20c267ad858232c8c5345b318814ffb Mon Sep 17 00:00:00 2001 From: Xiaokang Qian Date: Tue, 25 Oct 2022 13:39:16 +0000 Subject: [PATCH] Fix CI failure in build_info.h Signed-off-by: Xiaokang Qian --- include/mbedtls/build_info.h | 1 + include/mbedtls/mbedtls_config.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/build_info.h b/include/mbedtls/build_info.h index 9c9a345465..006233a377 100644 --- a/include/mbedtls/build_info.h +++ b/include/mbedtls/build_info.h @@ -96,6 +96,7 @@ #undef MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED #undef MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED #undef MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED +#undef MBEDTLS_SSL_EARLY_DATA #endif #if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED) || \ diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index 2524133786..fcdd5782aa 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -1640,7 +1640,8 @@ * Requires: MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED or * MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED * -* Comment this to disable support for early data. +* Comment this to disable support for early data. If MBEDTLS_SSL_PROTO_TLS1_3 +* is not enabled, this option does not have any effect on the build. * * This feature is experimental, not completed and thus not ready for * production.