fix(mbedtls): remove Wunterminated-string-initialization

- Fixed in upstream release 3.6.4
- Addressed few typos in Kconfig
This commit is contained in:
Mahavir Jain
2025-07-04 09:59:20 +05:30
parent 3f9a8953c4
commit 7c792377e9
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"