Merge pull request #6205

021cf733 ssl: server-side: allow multiple version of TLS (Bertrand Jacquin)
This commit is contained in:
Alexander Blair 2020-02-28 19:35:48 -08:00
commit 8d5e043981
No known key found for this signature in database
GPG Key ID: C64552D877C32479
1 changed files with 1 additions and 1 deletions

View File

@ -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;