diff options
author | git <svn-admin@ruby-lang.org> | 2022-10-06 18:01:08 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-06 18:01:08 +0900 |
commit | 4e1086f903030534db636b1417beefeafcfef3b7 (patch) | |
tree | bb6503935b2c056abd3d705fc7c3bddb8fb39ed5 | |
parent | 43e925090b6cf33b889904f8b795f4583b20a59b (diff) |
* remove trailing spaces. [ci skip]
-rw-r--r-- | lib/open-uri.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 2bcbec5110..0ce8471126 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -299,7 +299,7 @@ module OpenURI require 'net/https' http.use_ssl = true http.verify_mode = options[:ssl_verify_mode] || OpenSSL::SSL::VERIFY_PEER - http.ssl_version = options[:ssl_version] if options[:ssl_version] && + http.ssl_version = options[:ssl_version] if options[:ssl_version] && OpenSSL::SSL::SSLContext::METHODS.include?(options[:ssl_version]) store = OpenSSL::X509::Store.new if options[:ssl_ca_cert] |