mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
WiFiClientSecure: add loadCACert function (#3610)
Added loadCACert function
This commit is contained in:
parent
c8947953ac
commit
2d3b7b9759
@ -67,6 +67,12 @@ public:
|
|||||||
bool loadPrivateKey(TFile& file) {
|
bool loadPrivateKey(TFile& file) {
|
||||||
return loadPrivateKey(file, file.size());
|
return loadPrivateKey(file, file.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename TFile>
|
||||||
|
bool loadCACert(TFile& file) {
|
||||||
|
return loadCACert(file, file.size());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int _connectSSL(const char* hostName);
|
int _connectSSL(const char* hostName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user