set verify_mode to avoid a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
49f4ef7d03
commit
ea0a08fddd
@ -9,6 +9,7 @@ class HTTPSProxyTest < Test::Unit::TestCase
|
|||||||
proxy = Net::HTTP.Proxy(ipaddr, port, 'user', 'password')
|
proxy = Net::HTTP.Proxy(ipaddr, port, 'user', 'password')
|
||||||
http = proxy.new("foo.example.org", 8000)
|
http = proxy.new("foo.example.org", 8000)
|
||||||
http.use_ssl = true
|
http.use_ssl = true
|
||||||
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
||||||
http.start {|http| }
|
http.start {|http| }
|
||||||
p 1
|
p 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user