mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 10:39:11 -04:00
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:
parent
ab5576d91d
commit
0728e4cdf4
@ -10,8 +10,12 @@
|
|||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#ifdef CONFIG_ESP_TLS_USING_MBEDTLS
|
#ifdef CONFIG_ESP_TLS_USING_MBEDTLS
|
||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
|
#include "mbedtls/ssl.h"
|
||||||
|
#elif CONFIG_ESP_TLS_USING_WOLFSSL
|
||||||
|
#include "wolfssl/wolfcrypt/settings.h"
|
||||||
|
#include "wolfssl/ssl.h"
|
||||||
#endif
|
#endif
|
||||||
/* For wolfSSL, errors are included through ssl.h which is included by default by esp_tls.h */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user