From 4cbb7389db273c84bb69b04e9328039d098c89e3 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Mon, 7 Feb 2022 13:42:22 +0200 Subject: [PATCH] Support the updated MbedTLS in ESP-IDF v4.4 (#6243) --- 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 46f742050..5781b9494 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 -- GitLab