Skip to content

Commit 4db36b2

Browse files
authored
Support mbedtls 2.28.x
1 parent 88e2975 commit 4db36b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/WiFiClientSecure/src/ssl_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "esp_crt_bundle.h"
2121
#include "WiFi.h"
2222

23-
#ifndef MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED
23+
#if !defined(MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED) && !defined(MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED)
2424
# warning "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
2525
#else
2626

@@ -171,7 +171,7 @@ int start_ssl_client(sslclient_context *ssl_client, const char *host, uint32_t p
171171

172172
if (insecure) {
173173
mbedtls_ssl_conf_authmode(&ssl_client->ssl_conf, MBEDTLS_SSL_VERIFY_NONE);
174-
log_d("WARNING: Skipping SSL Verification. INSECURE!");
174+
log_i("WARNING: Skipping SSL Verification. INSECURE!");
175175
} else if (rootCABuff != NULL) {
176176
log_v("Loading CA cert");
177177
mbedtls_x509_crt_init(&ssl_client->ca_cert);

0 commit comments

Comments
 (0)