mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
mbedtls: fix ci failures for update v3.4.0
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c, clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang. - In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public. - But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`, only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined. - added a patch in mbedtls library to fix it.
This commit is contained in:
parent
c293708409
commit
35d466b814
@ -120,6 +120,12 @@ set(mbedtls_target_sources ${mbedtls_target_sources}
|
||||
"${COMPONENT_DIR}/port/dynamic/esp_ssl_tls.c")
|
||||
endif()
|
||||
|
||||
# While updating to MbedTLS release/v3.4.0, building mbedtls/library/psa_crypto.c
|
||||
# clang produces an unreachable-code warning.
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(mbedcrypto PRIVATE "-Wno-unreachable-code")
|
||||
endif()
|
||||
|
||||
# net_sockets.c should only be compiled if BSD socket functions are available.
|
||||
# Do this by checking if lwip component is included into the build.
|
||||
idf_build_get_property(build_components BUILD_COMPONENTS)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6ee24e3afc56db0daa35b17e3a4c455ea24da028
|
||||
Subproject commit f5fca55508d9d18961b10824d5cf5d8338c087f6
|
Loading…
x
Reference in New Issue
Block a user