From e120051e21d23dbec92f93f4a7879386702c6d17 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Wed, 2 Oct 2024 07:45:36 -0700 Subject: [PATCH] [toranj-config] explicitly enable `OPENTHREAD_CONFIG_TLS_ENABLE` (#10773) This commit explicitly enables the `OPENTHREAD_CONFIG_TLS_ENABLE` macro in `core-toranj-config.h`. This configuration is used to generate a custom `openthread-mbedtls-config.h` using the `unifdef` command in `mbedtls/CMakeLists.txt`. Some versions of `unifdef` do not expand macros first and expect the macro to be defined as a simple number. This change ensures the build is successful. --- tests/toranj/openthread-core-toranj-config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/toranj/openthread-core-toranj-config.h b/tests/toranj/openthread-core-toranj-config.h index b42a56bcea6..bb0f4a45882 100644 --- a/tests/toranj/openthread-core-toranj-config.h +++ b/tests/toranj/openthread-core-toranj-config.h @@ -66,6 +66,8 @@ #define OPENTHREAD_CONFIG_BLE_TCAT_ENABLE 1 +#define OPENTHREAD_CONFIG_TLS_ENABLE 1 + #define OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 1 #define OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES 4