Merge branch 'fix/remove_mbedtls_gcc_15_cflag' into 'master'

fix(mbedtls): remove Wunterminated-string-initialization

Closes IDF-13375

See merge request espressif/esp-idf!40362
This commit is contained in:
Mahavir Jain
2025-07-04 21:42:38 +05:30
2 changed files with 2 additions and 7 deletions

View File

@@ -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

View File

@@ -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"