diff --git a/modules/mbedtls/Kconfig b/modules/mbedtls/Kconfig index ced8519ba2d..81edf4ab574 100644 --- a/modules/mbedtls/Kconfig +++ b/modules/mbedtls/Kconfig @@ -82,7 +82,6 @@ source "subsys/logging/Kconfig.template.log_config" config MBEDTLS_DEBUG bool "mbed TLS debug activation" - depends on MBEDTLS_BUILTIN help Enable debugging activation for mbed TLS configuration. If you use mbedTLS/Zephyr integration (e.g. native TLS sockets), this will diff --git a/subsys/net/lib/sockets/sockets_tls.c b/subsys/net/lib/sockets/sockets_tls.c index 8f67d8ea310..436f3448a09 100644 --- a/subsys/net/lib/sockets/sockets_tls.c +++ b/subsys/net/lib/sockets/sockets_tls.c @@ -56,7 +56,7 @@ LOG_MODULE_REGISTER(net_sock_tls, CONFIG_NET_SOCKETS_LOG_LEVEL); #include "sockets_internal.h" #include "tls_internal.h" -#if defined(CONFIG_MBEDTLS_BUILTIN) +#if defined(CONFIG_MBEDTLS_DEBUG) #include #endif