mbedtls: Remove dependency on MBEDTLS_BUILTIN for MBEDTLS_DEBUG

Allows using MBEDTLS_DEBUG functionality when not using MBEDTLS_BUILTIN.

Signed-off-by: Vidar Lillebø <vidar.lillebo@nordicsemi.no>
This commit is contained in:
Vidar Lillebø 2023-03-02 15:14:42 +01:00 committed by Carles Cufí
commit ca3d0c8ee9
2 changed files with 1 additions and 2 deletions

View file

@ -82,7 +82,6 @@ source "subsys/logging/Kconfig.template.log_config"
config MBEDTLS_DEBUG config MBEDTLS_DEBUG
bool "mbed TLS debug activation" bool "mbed TLS debug activation"
depends on MBEDTLS_BUILTIN
help help
Enable debugging activation for mbed TLS configuration. If you use Enable debugging activation for mbed TLS configuration. If you use
mbedTLS/Zephyr integration (e.g. native TLS sockets), this will mbedTLS/Zephyr integration (e.g. native TLS sockets), this will

View file

@ -56,7 +56,7 @@ LOG_MODULE_REGISTER(net_sock_tls, CONFIG_NET_SOCKETS_LOG_LEVEL);
#include "sockets_internal.h" #include "sockets_internal.h"
#include "tls_internal.h" #include "tls_internal.h"
#if defined(CONFIG_MBEDTLS_BUILTIN) #if defined(CONFIG_MBEDTLS_DEBUG)
#include <zephyr_mbedtls_priv.h> #include <zephyr_mbedtls_priv.h>
#endif #endif