Skip to content

Commit 92b4835

Browse files
PatriceJiangminggo
authored andcommitted
add cert file (#20081)
1 parent 5ab04a7 commit 92b4835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cpp-tests/Classes/ExtensionsTest/NetworkTest/WebSocketTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void WebSocketTest::startTestCallback(Ref* sender)
147147
}
148148

149149
protocols.erase(protocols.begin());
150-
if (!_wsiSendBinary->init(*this, "wss://echo.websocket.org", &protocols))
150+
if (!_wsiSendBinary->init(*this, "wss://echo.websocket.org", &protocols, "cacert.pem"))
151151
{
152152
CC_SAFE_DELETE(_wsiSendBinary);
153153
}

0 commit comments

Comments
 (0)