We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08fecc7 commit 0797b0dCopy full SHA for 0797b0d
lib/jopenssl23/openssl/ssl.rb
@@ -108,10 +108,8 @@ class SSLContext
108
#
109
# You can get a list of valid methods with OpenSSL::SSL::SSLContext::METHODS
110
def initialize(version = nil)
111
- INIT_VARS.each { |v| instance_variable_set v, nil }
112
- self.options = self.options | OpenSSL::SSL::OP_ALL
113
- return unless version
114
- self.ssl_version = version
+ self.options |= OpenSSL::SSL::OP_ALL
+ self.ssl_version = version if version
115
end unless defined? JRUBY_VERSION # JRuby: handled in "native" Java
116
117
##
0 commit comments