diff --git a/lib/lib_div/lib_mail/src/wcs/esp32/esp_mail_ssl_client32.cpp b/lib/lib_div/lib_mail/src/wcs/esp32/esp_mail_ssl_client32.cpp index c4d535ffb..a96e2d6c8 100755 --- a/lib/lib_div/lib_mail/src/wcs/esp32/esp_mail_ssl_client32.cpp +++ b/lib/lib_div/lib_mail/src/wcs/esp32/esp_mail_ssl_client32.cpp @@ -50,7 +50,7 @@ #include "esp_mail_ssl_client32.h" #include -#ifndef MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED +#if !defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED) && !defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED) #error "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher" #endif @@ -699,4 +699,4 @@ void esp_mail_ssl_client32::ssl_client_debug_pgm_send_cb(esp_mail_ssl_ctx32 *ssl #endif //ESP32 -#endif //ESP_MAIL_SSL_CLIENT32_CPP \ No newline at end of file +#endif //ESP_MAIL_SSL_CLIENT32_CPP