Skip to content

Commit 8f45a0f

Browse files
IlVind-a-v
authored andcommitted
Set method _connectSSL as protected (#6424)
1 parent e77f96c commit 8f45a0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ class WiFiClientSecure : public WiFiClient {
193193
// AxTLS API deprecated section end
194194
/////////////////////////////////////
195195

196+
protected:
197+
bool _connectSSL(const char *hostName); // Do initial SSL handshake
198+
196199
private:
197200
void _clear();
198201
void _clearAuthenticationSettings();
@@ -243,7 +246,6 @@ class WiFiClientSecure : public WiFiClient {
243246
size_t _recvapp_len;
244247

245248
bool _clientConnected(); // Is the underlying socket alive?
246-
bool _connectSSL(const char *hostName); // Do initial SSL handshake
247249
void _freeSSL();
248250
int _run_until(unsigned target, bool blocking = true);
249251
size_t _write(const uint8_t *buf, size_t size, bool pmem);

0 commit comments

Comments
 (0)