mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04: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_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))
|
if (!bool(*this))
|
||||||
return ssl_context;
|
return ssl_context;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user