We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8aa3849 + ae215a4 commit 559b8edCopy full SHA for 559b8ed
lib/openssl/ssl.rb
@@ -22,7 +22,6 @@ module OpenSSL
22
module SSL
23
class SSLContext
24
DEFAULT_PARAMS = { # :nodoc:
25
- :min_version => OpenSSL::SSL::TLS1_VERSION,
26
:verify_mode => OpenSSL::SSL::VERIFY_PEER,
27
:verify_hostname => true,
28
:options => -> {
@@ -55,6 +54,7 @@ class SSLContext
55
54
if !(OpenSSL::OPENSSL_VERSION.start_with?("OpenSSL") &&
56
OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000)
57
DEFAULT_PARAMS.merge!(
+ min_version: OpenSSL::SSL::TLS1_VERSION,
58
ciphers: %w{
59
ECDHE-ECDSA-AES128-GCM-SHA256
60
ECDHE-RSA-AES128-GCM-SHA256
0 commit comments