Skip to content

Commit

Permalink
Use TLS v1.2 in Janus
Browse files Browse the repository at this point in the history
  • Loading branch information
skastr0 committed Jan 17, 2019
1 parent 5818867 commit c3d4f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/websocket-client/JanusWebsocketClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ bool JanusWebsocketClientImpl::connect(std::string url, std::string room, std::s
//Register our tls hanlder
client.set_tls_init_handler([&](websocketpp::connection_hdl connection) {
//Create context
auto ctx = websocketpp::lib::make_shared<asio::ssl::context>(asio::ssl::context::tlsv1);
auto ctx = websocketpp::lib::make_shared<asio::ssl::context>(asio::ssl::context::tlsv12_client);

try {
ctx->set_options(asio::ssl::context::default_workarounds |
Expand Down

0 comments on commit c3d4f77

Please sign in to comment.