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:
parent
49f4ef7d03
commit
ea0a08fddd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue