Fix compilation for use as IDF component (#5265)

This commit is contained in:
Me No Dev
2021-06-09 12:56:12 +03:00
committed by GitHub
parent 90fc68d83f
commit 7f87d0fc3a
16 changed files with 29 additions and 21 deletions

View File

@ -20,8 +20,8 @@
#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
# warning "Please configure IDF framework to include mbedTLS -> Enable pre-shared-key ciphersuites and activate at least one cipher"
#else
const char *pers = "esp32-tls";
@ -459,3 +459,5 @@ bool verify_ssl_dn(sslclient_context *ssl_client, const char* domain_name)
return false;
}
#endif