formatting

This commit is contained in:
The-EDev 2022-04-27 06:11:49 +03:00
parent 84289dbe71
commit 82e894dc88
No known key found for this signature in database
GPG Key ID: 51C45DC0C413DCD9

View File

@ -376,10 +376,7 @@ namespace crow
ssl_context_.use_certificate_chain_file(crt_filename); ssl_context_.use_certificate_chain_file(crt_filename);
ssl_context_.use_private_key_file(key_filename, ssl_context_t::pem); ssl_context_.use_private_key_file(key_filename, ssl_context_t::pem);
ssl_context_.set_options( ssl_context_.set_options(
boost::asio::ssl::context::default_workarounds boost::asio::ssl::context::default_workarounds | boost::asio::ssl::context::no_sslv2 | boost::asio::ssl::context::no_sslv3);
| boost::asio::ssl::context::no_sslv2
| boost::asio::ssl::context::no_sslv3
);
return *this; return *this;
} }