mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 08:52:26 +00:00
Merge pull request #6205
021cf733
ssl: server-side: allow multiple version of TLS (Bertrand Jacquin)
This commit is contained in:
commit
8d5e043981
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue