8000 call setFingerPrint for ssl object in client with fingerprint receive… · joelkoz/arduinoWebSockets@f65e8d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit f65e8d9

Browse files
committed
call setFingerPrint for ssl object in client with fingerprint received in beginSSL or no connection will start;
1 parent 05ec18e commit f65e8d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebSocketsClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ void WebSocketsClient::loop(void) {
170170
_client.tcp = NULL;
171171
}
172172
_client.ssl = new WEBSOCKETS_NETWORK_SSL_CLASS();
173+
_client.ssl->setFingerprint(_fingerprint.c_str());
173174
_client.tcp = _client.ssl;
174175
if(_CA_cert) {
175176
DEBUG_WEBSOCKETS("[WS-Client] setting CA certificate");

0 commit comments

Comments
 (0)
0