mirror of https://github.com/arendst/Tasmota.git
rm WifiClientSecure
This commit is contained in:
parent
17087d1b08
commit
2950de0016
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue