From d40186b59d7c0b7599b251727df1b4cd5133a5ed Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 7 Feb 2022 13:01:48 +0100 Subject: [PATCH] support new mbedtls 2.28.x too (#14758) * support new mbedtls 2.28.x too --- lib/lib_div/lib_mail/src/wcs/esp32/esp_mail_ssl_client32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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