Method: OpenSSL::SSL::SSLContext#set_params

Defined in:
lib/td/core_ext/openssl/ssl/sslcontext/set_params.rb

#set_params(params = {}) ⇒ Object



12
13
14
15
# File 'lib/td/core_ext/openssl/ssl/sslcontext/set_params.rb', line 12

def set_params(params={})
  original_set_params(params)
  self.options |= OP_NO_SSLv3 if Thread.current[:SET_SSL_OP_NO_SSLv3]
end