ruby-changes:73869
From: git <ko1@a...>
Date: Thu, 6 Oct 2022 18:01:21 +0900 (JST)
Subject: [ruby-changes:73869] 4e1086f903 (master): * remove trailing spaces. [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=4e1086f903 From 4e1086f903030534db636b1417beefeafcfef3b7 Mon Sep 17 00:00:00 2001 From: git <svn-admin@r...> Date: Thu, 6 Oct 2022 18:01:08 +0900 Subject: * remove trailing spaces. [ci skip] --- lib/open-uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 https://github.com/ruby/ruby/blob/trunk/lib/open-uri.rb#L299 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] -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/