From 7c792377e9a7511149bd1c7afb6862f250f4a59d Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Fri, 4 Jul 2025 09:59:20 +0530 Subject: [PATCH] fix(mbedtls): remove Wunterminated-string-initialization - Fixed in upstream release 3.6.4 - Addressed few typos in Kconfig --- components/mbedtls/CMakeLists.txt | 5 ----- components/mbedtls/Kconfig | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/components/mbedtls/CMakeLists.txt b/components/mbedtls/CMakeLists.txt index 9fe882afe2..54d70e4655 100644 --- a/components/mbedtls/CMakeLists.txt +++ b/components/mbedtls/CMakeLists.txt @@ -357,11 +357,6 @@ foreach(target ${mbedtls_targets}) endif() endforeach() -if(CMAKE_C_COMPILER_ID MATCHES "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 15.0) - target_compile_options(mbedtls PRIVATE "-Wno-unterminated-string-initialization") -endif() - - if(CONFIG_MBEDTLS_DYNAMIC_BUFFER) set(WRAP_FUNCTIONS mbedtls_ssl_write_client_hello diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index 1bfd7a8374..eaaa0df986 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -368,8 +368,8 @@ menu "mbedTLS" config keeps expired, retracted certificates in the bundle and it may pose a security risk. - - Deprecated cert list may grow based based on sync with upstream bundle - - Deprecated certs would be be removed in ESP-IDF (next) major release + - Deprecated cert list may grow based on sync with upstream bundle + - Deprecated certs would be removed in ESP-IDF (next) major release config MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS int "Maximum no of certificates allowed in certificate bundle"