Remove `WiFiClientSecure` (#19725)

* Update HttpClientLight.cpp
* Update HttpClientLight.h
* Update Powerwall.h
* Update xdrv_10_scripter.ino
This commit is contained in:
Jason2866 2023-10-12 20:10:16 +02:00 committed by GitHub
parent 4eefed79ac
commit a3dcbc6661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 12 deletions

View File

@ -32,7 +32,6 @@
#ifdef HTTPCLIENT_1_1_COMPATIBLE
#include <WiFi.h>
#include <WiFiClientSecure.h>
#endif
#include <StreamString.h>

View File

@ -32,7 +32,6 @@
#include <memory>
#include <Arduino.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <HTTPClient.h> // import definitions from the original code
@ -274,4 +273,4 @@ protected:
#endif /* HTTPClient_Light_H_ */
#endif /* HTTPClient_Light_H_ */

View File

@ -4,12 +4,7 @@
#define Powerwall_h
// include libraries
#ifdef ESP8266
#include "WiFiClientSecureLightBearSSL.h"
#else
#include <WiFiClientSecure.h>
#endif //ESP8266
class Powerwall {
private:

View File

@ -11953,11 +11953,7 @@ int32_t call2pwl(const char *url) {
#endif // TESLA_POWERWALL
#ifdef ESP8266
#include "WiFiClientSecureLightBearSSL.h"
#else
#include <WiFiClientSecure.h>
#endif //ESP8266
// get https info page json string
uint32_t call2https(const char *host, const char *path) {