fix(esp-tls): Add headers in esp_tls_errors.h header file

Closes https://github.com/espressif/esp-idf/issues/12541
This commit is contained in:
Harshit Malpani 2023-11-21 17:46:22 +05:30 committed by BOT
parent 8425cada28
commit 1bce7d255d

View File

@ -10,8 +10,12 @@
#include "esp_err.h"
#ifdef CONFIG_ESP_TLS_USING_MBEDTLS
#include "mbedtls/error.h"
#include "mbedtls/ssl.h"
#elif CONFIG_ESP_TLS_USING_WOLFSSL
#include "wolfssl/wolfcrypt/settings.h"
#include "wolfssl/ssl.h"
#endif
/* For wolfSSL, errors are included through ssl.h which is included by default by esp_tls.h */
#ifdef __cplusplus
extern "C" {