1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-06-03 11:46:31 +02:00

Switched HTTPS client to use TLS instead of outdated SSL

This commit is contained in:
Pavel Odintsov 2022-10-09 16:20:08 +01:00
parent c83e415659
commit 4e9da04715

View File

@ -1517,7 +1517,7 @@ bool execute_web_request_secure(std::string address,
boost::asio::io_context ioc;
// The SSL context is required, and holds certificates
boost::asio::ssl::context ctx{ boost::asio::ssl::context::sslv23_client };
boost::asio::ssl::context ctx{ boost::asio::ssl::context::tls_client };
// Load default CA certificates
ctx.set_default_verify_paths();