From e3b565cc4026e1fc66a9da9c36e50c3d29e8872d Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Thu, 15 Jan 2026 07:38:48 -0800 Subject: [PATCH] [mbedtls] fix build failure by including crypto.h (#12297) Replace the include of `` with `` in the mbedTLS config header file. Recent PR #12290 introduced `otPlatCryptoCAlloc()` and `otPlatCryptoFree()` platform APIs and updated the mbedTLS config to use them. This commit ensures the correct header is included to prevent build errors regarding use of undeclared functions (e.g. "error: use of undeclared identifier 'otPlatCryptoCAlloc'"). --- third_party/mbedtls/mbedtls-config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/mbedtls/mbedtls-config.h b/third_party/mbedtls/mbedtls-config.h index ba1fb3086..65f195dcd 100644 --- a/third_party/mbedtls/mbedtls-config.h +++ b/third_party/mbedtls/mbedtls-config.h @@ -38,7 +38,7 @@ #include #include -#include +#include #define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf