mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-29 23:27:13 +02:00
Merge pull request #567 from lucalas/master
setFingerprint in WiFiClientSecure required to pass certificate Check
This commit is contained in:
@ -179,6 +179,10 @@ void WebSocketsClient::loop(void) {
|
||||
_client.ssl->setCACert((const uint8_t *)_CA_cert, strlen(_CA_cert) + 1);
|
||||
#else
|
||||
#error setCACert not implemented
|
||||
#endif
|
||||
} else if(_fingerprint.length()) {
|
||||
#if defined(wificlientbearssl_h) && !defined(USING_AXTLS) && !defined(wificlientsecure_h)
|
||||
_client.ssl->setFingerprint(_fingerprint.c_str());
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user