From 9e79fcc83e45f6e0340344631ab30bae0c0bc9b8 Mon Sep 17 00:00:00 2001 From: Pete Skeggs Date: Mon, 24 Jan 2022 15:37:05 -0800 Subject: [PATCH] [nrf noup] Fixes for DTLS CID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per https://github.com/zephyrproject-rtos/zephyr/pull/36738. Updated CID value with latest from: https://www.iana.org/assignments/tls-extensiontype-values/ tls-extensiontype-values.xhtml ref: NCSDK-15193 Signed-off-by: Pete Skeggs Signed-off-by: Frank Audun Kvamtrø (cherry picked from commit fcf5f4124bc5d5d925f3caee5474c4db5701b8cf) (cherry picked from commit 63306450071092d9a912edb88ecabe7cd1004f44) --- include/mbedtls/ssl.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index a7ff89d413..4c69cf4590 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -549,14 +549,12 @@ /* The value of the CID extension is still TBD as of * draft-ietf-tls-dtls-connection-id-05 - * (https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05). - * - * A future minor revision of Mbed TLS may change the default value of - * this option to match evolving standards and usage. + * (https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05) + * Latest CID value is here: + * https://www.iana.org/assignments/tls-extensiontype-values/ + * tls-extensiontype-values.xhtml#tls-extensiontype-values-1 */ -#if !defined(MBEDTLS_TLS_EXT_CID) -#define MBEDTLS_TLS_EXT_CID 254 /* TBD */ -#endif +#define MBEDTLS_TLS_EXT_CID 54 #define MBEDTLS_TLS_EXT_ECJPAKE_KKPP 256 /* experimental */