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:
parent
c83e415659
commit
4e9da04715
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue