File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
boost/network/protocol/http/client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void boost::network::http::impl::ssl_delegate::connect(
32
32
asio::ip::tcp::endpoint &endpoint, std::string host,
33
33
function<void (system::error_code const &)> handler) {
34
34
context_.reset (
35
- new asio::ssl::context (service_, asio::ssl::context::tlsv1_client ));
35
+ new asio::ssl::context (service_, asio::ssl::context::sslv23_client ));
36
36
if (ciphers_) {
37
37
::SSL_CTX_set_cipher_list (context_->native_handle (), ciphers_->c_str());
38
38
}
@@ -47,7 +47,7 @@ void boost::network::http::impl::ssl_delegate::connect(
47
47
} else {
48
48
if (always_verify_peer_) {
49
49
context_->set_verify_mode (asio::ssl::context::verify_peer);
50
- // use openssl default verify paths. uses openssl environment variables
50
+ // use openssl default verify paths. uses openssl environment variables
51
51
// SSL_CERT_DIR, SSL_CERT_FILE
52
52
context_->set_default_verify_paths ();
53
53
} else
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ struct client_options {
102
102
}
103
103
104
104
client_options& openssl_options (long o) {
105
- openssl_options_ ^ = o;
105
+ openssl_options_ = o;
106
106
return *this ;
107
107
}
108
108
You can’t perform that action at this time.
0 commit comments