Skip to content

Commit 0d7b7eb

Browse files
committed
Removing temporary return true in desktop websocket server certificate verification.
1 parent bee84ce commit 0d7b7eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Release/src/websockets/client/ws_client.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,7 @@ class wspp_client : public _websocket_client_impl, public std::enable_shared_fro
194194
}
195195
#endif
196196
boost::asio::ssl::rfc2818_verification rfc2818(utility::conversions::to_utf8string(m_uri.host()));
197-
/*return*/ rfc2818(preverified, verifyCtx);
198-
// TODO
199-
return true;
197+
return rfc2818(preverified, verifyCtx);
200198
});
201199

202200
return sslContext;

0 commit comments

Comments
 (0)