Skip to content

Commit ca3d0c8

Browse files
vlilleboecarlescufi
authored andcommitted
mbedtls: Remove dependency on MBEDTLS_BUILTIN for MBEDTLS_DEBUG
Allows using MBEDTLS_DEBUG functionality when not using MBEDTLS_BUILTIN. Signed-off-by: Vidar Lillebø <[email protected]>
1 parent 1028cab commit ca3d0c8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/mbedtls/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ source "subsys/logging/Kconfig.template.log_config"
8282

8383
config MBEDTLS_DEBUG
8484
bool "mbed TLS debug activation"
85-
depends on MBEDTLS_BUILTIN
8685
help
8786
Enable debugging activation for mbed TLS configuration. If you use
8887
mbedTLS/Zephyr integration (e.g. native TLS sockets), this will

subsys/net/lib/sockets/sockets_tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ LOG_MODULE_REGISTER(net_sock_tls, CONFIG_NET_SOCKETS_LOG_LEVEL);
5656
#include "sockets_internal.h"
5757
#include "tls_internal.h"
5858

59-
#if defined(CONFIG_MBEDTLS_BUILTIN)
59+
#if defined(CONFIG_MBEDTLS_DEBUG)
6060
#include <zephyr_mbedtls_priv.h>
6161
#endif
6262

0 commit comments

Comments
 (0)