mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params): new method to set suitable SSL parameters. * lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb, test/openssl/test_ssl.rb: follow above change. * test/net/http/test_https.rb: refine error case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0fc7dfedd3
commit
40aa32a0d7
7 changed files with 52 additions and 35 deletions
|
@ -59,7 +59,7 @@ class TestNetHTTPS < Test::Unit::TestCase
|
|||
http = Net::HTTP.new("ssl.netlab.jp", 443)
|
||||
http.use_ssl = true
|
||||
assert(
|
||||
http.request_head("/"){|res| },
|
||||
(http.request_head("/"){|res| } rescue false),
|
||||
"The system may not have default CA certificate store."
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue