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