mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6370
3031deb
Bump downloaded boost version to 1.72 (omartijn)6079042
Use boost::asio::ssl::context::sslv23 for backwards compatibility (omartijn)
This commit is contained in:
commit
d86d1a4d29
2 changed files with 7 additions and 5 deletions
|
@ -289,7 +289,9 @@ ssl_options_t::ssl_options_t(std::vector<std::vector<std::uint8_t>> fingerprints
|
|||
|
||||
boost::asio::ssl::context ssl_options_t::create_context() const
|
||||
{
|
||||
boost::asio::ssl::context ssl_context{boost::asio::ssl::context::tls};
|
||||
// note: this enables a lot of old and insecure protocols, which we
|
||||
// promptly disable below - if the result is actually used
|
||||
boost::asio::ssl::context ssl_context{boost::asio::ssl::context::sslv23};
|
||||
if (!bool(*this))
|
||||
return ssl_context;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue