summaryrefslogtreecommitdiffstats
path: root/test/net/http/test_https.rb
Commit message (Collapse)AuthorAgeFilesLines
* * test/net/http/test_https.rb: should rescue LoadError.gotoyuzo2007-12-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.gotoyuzo2007-12-221-1/+1
| | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@14479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#connect): usegotoyuzo2007-12-201-0/+97
OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default verify mode is now OpenSSL::SSL::VERIFY_PEER). * lib/net/https.rb: SSL parameters are defined by attr_accessor. * test/net/http/test_https.rb: add test for HTTPS features. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e