mirror of https://github.com/arendst/Tasmota.git
Remove `WiFiClientSecure` (#19725)
* Update HttpClientLight.cpp * Update HttpClientLight.h * Update Powerwall.h * Update xdrv_10_scripter.ino
This commit is contained in:
parent
4eefed79ac
commit
a3dcbc6661
|
@ -32,7 +32,6 @@
|
|||
|
||||
#ifdef HTTPCLIENT_1_1_COMPATIBLE
|
||||
#include <WiFi.h>
|
||||
#include <WiFiClientSecure.h>
|
||||
#endif
|
||||
|
||||
#include <StreamString.h>
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -4,12 +4,7 @@
|
|||
#define Powerwall_h
|
||||
|
||||
// include libraries
|
||||
#ifdef ESP8266
|
||||
#include "WiFiClientSecureLightBearSSL.h"
|
||||
#else
|
||||
#include <WiFiClientSecure.h>
|
||||
#endif //ESP8266
|
||||
|
||||
|
||||
class Powerwall {
|
||||
private:
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue