From 4acc1fd5062e187f7a6102f0c9b79a7dce8b21ab Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 3 Jun 2005 16:49:56 +0000 Subject: set verify_mode to avoid a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_https_proxy.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/net') diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb index c50620aec3..559e28ba0c 100644 --- a/test/net/http/test_https_proxy.rb +++ b/test/net/http/test_https_proxy.rb @@ -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 } -- cgit v1.2.3