1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
akr 2005-06-03 16:49:56 +00:00
parent 49f4ef7d03
commit ea0a08fddd

View file

@ -9,6 +9,7 @@ class HTTPSProxyTest < Test::Unit::TestCase
proxy = Net::HTTP.Proxy(ipaddr, port, 'user', 'password')
http = proxy.new("foo.example.org", 8000)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.start {|http| }
p 1
}