diff --git a/libraries/WiFiClientSecure/src/ssl_client.cpp b/libraries/WiFiClientSecure/src/ssl_client.cpp index ce8b31c7..3fa6138f 100644 --- a/libraries/WiFiClientSecure/src/ssl_client.cpp +++ b/libraries/WiFiClientSecure/src/ssl_client.cpp @@ -19,6 +19,9 @@ #include "ssl_client.h" #include "WiFi.h" +#ifndef 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 const char *pers = "esp32-tls";