Skip to content

Commit

Permalink
rm WifiClientSecure
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Oct 13, 2023
1 parent 17087d1 commit 2950de0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2950de0

Please sign in to comment.