modules: mbedtls: Remove check_config.h

build_info.h of mbedtls includes the config file for mbedtls but
also includes check_config.h so its not needed to have it in the
config file

Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
This commit is contained in:
Markus Swarowsky 2023-12-11 17:03:48 +01:00 committed by Carles Cufí
commit 3a1e179c4d

View file

@ -486,19 +486,4 @@
#include CONFIG_MBEDTLS_USER_CONFIG_FILE #include CONFIG_MBEDTLS_USER_CONFIG_FILE
#endif #endif
#if !defined(CONFIG_MBEDTLS_PSA_CRYPTO_C)
/* When PSA API is used the checking header is included over the chain:
* |-psa/crypto.h
* |-psa/crypto_platform.h
* |-mbedtls/build_info.h
* |-mbedtls/check_config.h
* If include this header here then PSA API will be in semiconfigured state
* without considering dependencies from mbedtls/config_psa.h.
* mbedtls/config_psa.h should be included right after config-tls-generic.h before checking.
* Formally, all settings are correct but mbedtls library cannot be built.
* The behavior was introduced after adding mbedTLS 3.4.0
*/
#include "mbedtls/check_config.h"
#endif
#endif /* MBEDTLS_CONFIG_H */ #endif /* MBEDTLS_CONFIG_H */