mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-16 16:52:05 +02:00
fix #428 by setting Insecure if we do not have a CA or fingerprint
This commit is contained in:
@ -748,6 +748,10 @@ void WebSocketsClient::connectedCb() {
|
|||||||
WebSockets::clientDisconnect(&_client, 1000);
|
WebSockets::clientDisconnect(&_client, 1000);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else if(_client.isSSL && !_CA_cert) {
|
||||||
|
#if defined(wificlientbearssl_h) && !defined(USING_AXTLS)
|
||||||
|
_client.ssl->setInsecure();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user