From 3565a9ba89686dac7d72d6abc1e41926917a5589 Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Mon, 3 Jul 2023 10:28:24 +0530 Subject: [PATCH] fix(esp-tls): Add explicit inclusion of header `mbedtls/x509_crt.h` - Closes https://github.com/espressif/esp-idf/issues/11761 --- components/esp-tls/esp_tls.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index 5543b0d0f4..715bed6578 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -12,6 +12,7 @@ #include "sdkconfig.h" #ifdef CONFIG_ESP_TLS_USING_MBEDTLS #include "mbedtls/ssl.h" +#include "mbedtls/x509_crt.h" #ifdef CONFIG_ESP_TLS_SERVER_SESSION_TICKETS #include "mbedtls/ssl_ticket.h" #include "mbedtls/entropy.h"