diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-03 16:49:56 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-03 16:49:56 +0000 |
| commit | cf342c53b6f9fb9f975d1c0e2f6e182411fd8ad8 (patch) | |
| tree | 39d65c7916f8eca6a7d4498245f631f33cd5ff9e /test/net/http | |
| parent | 22d3f2c0aac2ac6fbbe4bec88be8eef03f66b25e (diff) | |
| download | ruby-cf342c53b6f9fb9f975d1c0e2f6e182411fd8ad8.tar.gz ruby-cf342c53b6f9fb9f975d1c0e2f6e182411fd8ad8.tar.xz ruby-cf342c53b6f9fb9f975d1c0e2f6e182411fd8ad8.zip | |
set verify_mode to avoid a warning.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http')
| -rw-r--r-- | test/net/http/test_https_proxy.rb | 1 |
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 } |
