arduinoWebSockets icon indicating copy to clipboard operation
arduinoWebSockets copied to clipboard

Added necessary functions to work with multiple SSL

Open zekageri opened this issue 3 years ago • 2 comments

Functions added:

void enableLoop(void);
void disableLoop(void);

Variable added:

bool _loopLocked = false;

Function copyed after #ifdef HAS_SSL to be able to use without BearSSL

void beginSSLWithCA(const char * host, uint16_t port, const char * url = "/socket.io/?EIO=3", const char * CA_cert = NULL, const char * protocol = "arduino");

zekageri avatar Jun 23 '22 08:06 zekageri

the copy of the function will fail for the ESP8266 since it will be there 2 times with the SSL_BARESSL define. moving it is the better option here ;)

#756

Links2004 avatar Jun 23 '22 18:06 Links2004

Oh i see. I will make a change.

zekageri avatar Jun 23 '22 19:06 zekageri