From 93e985a541f1cb6db9fd4229df506f937b54c4c0 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Thu, 1 Apr 2021 12:08:58 +0200 Subject: [PATCH] Fixed CI WebSocket test on MacOS --- test/websocket.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/websocket.cpp b/test/websocket.cpp index 3dd85fd..cdd287e 100644 --- a/test/websocket.cpp +++ b/test/websocket.cpp @@ -36,10 +36,9 @@ void test_websocket() { const string myMessage = "Hello world from libdatachannel"; - WebSocket ws; - - // Certificate verification can be disabled - // WebSocket ws(WebSocket::Configuration{.disableTlsVerification = true}); + WebSocket::Configuration config; + config.disableTlsVerification = true; + WebSocket ws(std::move(config)); ws.onOpen([&ws, &myMessage]() { cout << "WebSocket: Open" << endl;