From 9fc15ea4cc726ebfaf3a572cea42750e87961b4c Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Mon, 4 May 2020 12:00:47 +0100 Subject: [PATCH] Introduce config option for experimental TLS 1.3 specific features Signed-off-by: Hanno Becker --- include/mbedtls/config.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 901e26d897..da8b6b31e0 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -1706,6 +1706,22 @@ */ #define MBEDTLS_SSL_PROTO_TLS1_2 +/** + * \def MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL + * + * This is an experimental macro used to selectively enable parts + * of the code that solely contribute to the ongoing development of + * a prototype implementation for TLS 1.3 and DTLS 1.3 but aren't + * used otherwise. + * + * \warning Features under the control of this macro are experimental + * and don't come with any stability guarantees. + * + * Uncomment this macro to enable experimental and partial + * functionality specific to TLS 1.3. + */ +#define MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL + /** * \def MBEDTLS_SSL_PROTO_DTLS *