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

Closes https://github.com/espressif/esp-idf/issues/12541
pull/12698/head^2
Harshit Malpani 2023-11-21 17:46:22 +05:30
rodzic 096d1ce1bb
commit 9e8761880b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 441A8ACC7853D493
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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" {