Skip to content

Commit

Permalink
Merge branch 'fix/wrong_order_of_includes_in_esp_tls' into 'master'
Browse files Browse the repository at this point in the history
fix(esp-tls): Fix wrong order of includes in esp_tls.h

Closes IDFGH-11403

See merge request espressif/esp-idf!27302
  • Loading branch information
hmalpani committed Dec 4, 2023
2 parents 94d7ec7 + 9e87618 commit 1e8261e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/esp-tls/esp_tls_errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 1e8261e

Please sign in to comment.