1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

Set method _connectSSL as protected (#6424)

This commit is contained in:
Ilya 2019-08-16 14:23:05 +03:00 committed by david gauchard
parent e77f96c3e1
commit 8f45a0fb91

View File

@ -193,6 +193,9 @@ class WiFiClientSecure : public WiFiClient {
// AxTLS API deprecated section end // AxTLS API deprecated section end
///////////////////////////////////// /////////////////////////////////////
protected:
bool _connectSSL(const char *hostName); // Do initial SSL handshake
private: private:
void _clear(); void _clear();
void _clearAuthenticationSettings(); void _clearAuthenticationSettings();
@ -243,7 +246,6 @@ class WiFiClientSecure : public WiFiClient {
size_t _recvapp_len; size_t _recvapp_len;
bool _clientConnected(); // Is the underlying socket alive? bool _clientConnected(); // Is the underlying socket alive?
bool _connectSSL(const char *hostName); // Do initial SSL handshake
void _freeSSL(); void _freeSSL();
int _run_until(unsigned target, bool blocking = true); int _run_until(unsigned target, bool blocking = true);
size_t _write(const uint8_t *buf, size_t size, bool pmem); size_t _write(const uint8_t *buf, size_t size, bool pmem);