summaryrefslogtreecommitdiffstats
path: root/test/net/http/test_https_proxy.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-03 16:49:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-03 16:49:56 +0000
commitcc8859153cf098be94452f861f8737d5dce6a286 (patch)
tree7c6422701789ba787eee7a462861f67d757a74e9 /test/net/http/test_https_proxy.rb
parent554841c7fe29ff4c4224c83e004a2c22766a4c51 (diff)
downloadruby-cc8859153cf098be94452f861f8737d5dce6a286.tar.gz
ruby-cc8859153cf098be94452f861f8737d5dce6a286.tar.xz
ruby-cc8859153cf098be94452f861f8737d5dce6a286.zip
set verify_mode to avoid a warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http/test_https_proxy.rb')
-rw-r--r--test/net/http/test_https_proxy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb
index c50620aec..559e28ba0 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
}