未验证 提交 94321630 编写于 作者: D Dr. Christian Kohlschütter 提交者: GitHub

WiFiClientSecure: Fix warning about missing PSK-based ciphersuites (#7020)

Make the warning actionable by pointing at the right setting in Kconfig.
上级 9bceb280
......@@ -21,7 +21,7 @@
#include "WiFi.h"
#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"
# warning "Please configure IDF framework to include mbedTLS -> Enable PSK based ciphersuite modes (MBEDTLS_KEY_EXCHANGE_PSK) and activate at least one cipher"
#else
const char *pers = "esp32-tls";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册