From e3edf1a3064eab4266c4fd854f551aa39460166a Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Mon, 7 Feb 2022 13:25:40 +0200 Subject: [PATCH] Support the updated MbedTLS in ESP-IDF v4.4 --- libraries/WiFiClientSecure/src/ssl_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/WiFiClientSecure/src/ssl_client.cpp b/libraries/WiFiClientSecure/src/ssl_client.cpp index 46f74205044..5781b94947d 100644 --- a/libraries/WiFiClientSecure/src/ssl_client.cpp +++ b/libraries/WiFiClientSecure/src/ssl_client.cpp @@ -20,7 +20,7 @@ #include "esp_crt_bundle.h" #include "WiFi.h" -#ifndef MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED +#if !defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED) && !defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED) # warning "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher" #else