Skip to content

Commit 9432163

Browse files
WiFiClientSecure: Fix warning about missing PSK-based ciphersuites (espressif#7020)
Make the warning actionable by pointing at the right setting in Kconfig.
1 parent 9bceb28 commit 9432163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFiClientSecure/src/ssl_client.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "WiFi.h"
2222

2323
#if !defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED) && !defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED)
24-
# warning "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
24+
# warning "Please configure IDF framework to include mbedTLS -> Enable PSK based ciphersuite modes (MBEDTLS_KEY_EXCHANGE_PSK) and activate at least one cipher"
2525
#else
2626

2727
const char *pers = "esp32-tls";

0 commit comments

Comments
 (0)