mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Don't use deprecated boost::asio::ssl::context ctor
This was removed in boost 1.66, in prior versions the service argument was not used
This commit is contained in:
parent
13b17c5a93
commit
0f2d2156e6
2 changed files with 2 additions and 2 deletions
|
@ -522,7 +522,7 @@ namespace data
|
|||
boost::asio::io_service service;
|
||||
boost::system::error_code ecode;
|
||||
|
||||
boost::asio::ssl::context ctx(service, boost::asio::ssl::context::sslv23);
|
||||
boost::asio::ssl::context ctx(boost::asio::ssl::context::sslv23);
|
||||
ctx.set_verify_mode(boost::asio::ssl::context::verify_none);
|
||||
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> s(service, ctx);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue