Update PubSub client to use TLS v1.2 (#3599)

This commit is contained in:
LosFarmosCTL
2022-03-12 12:50:41 +01:00
committed by GitHub
parent 0a12914e0d
commit 414313726e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1178,7 +1178,7 @@ void PubSub::onConnectionClose(WebsocketHandle hdl)
PubSub::WebsocketContextPtr PubSub::onTLSInit(websocketpp::connection_hdl hdl)
{
WebsocketContextPtr ctx(
new boost::asio::ssl::context(boost::asio::ssl::context::tlsv1));
new boost::asio::ssl::context(boost::asio::ssl::context::tlsv12));
try
{