mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
Merge pull request #6205
021cf733
ssl: server-side: allow multiple version of TLS (Bertrand Jacquin)
This commit is contained in:
commit
8d5e043981
@ -289,7 +289,7 @@ 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::tlsv12};
|
||||
boost::asio::ssl::context ssl_context{boost::asio::ssl::context::tls};
|
||||
if (!bool(*this))
|
||||
return ssl_context;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user