rm WifiClientSecure

This commit is contained in:
Jason2866 2023-10-13 16:57:01 +02:00 committed by GitHub
parent 17087d1b08
commit 2950de0016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -11960,13 +11960,8 @@ uint32_t call2https(const char *host, const char *path) {
//if (TasmotaGlobal.global_state.wifi_down) return 1;
uint32_t status = 0;
#ifdef ESP32
WiFiClientSecure *httpsClient;
httpsClient = new WiFiClientSecure;
#else
BearSSL::WiFiClientSecure_light *httpsClient;
httpsClient = new BearSSL::WiFiClientSecure_light(1024, 1024);
#endif
httpsClient->setTimeout(2000);
httpsClient->setInsecure();