Skip to content

Commit 33af65f

Browse files
authored
Fix build failure due to change in MbedTLS defines
1 parent addf45e commit 33af65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/SSLClient/src/ssl_client.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <string>
2020
#include "ssl_client.h"
2121

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

0 commit comments

Comments
 (0)