From 817afcc8ab31cd128686304d2676e4c2b8d9c147 Mon Sep 17 00:00:00 2001 From: nahi Date: Thu, 18 Dec 2008 15:00:23 +0000 Subject: * test warning cleanups. * lib/webrick/https.rb, lib/soap/attachment.rb, test/xsd/test_xsd.rb: uninitialized instance variables. * lib/xsd/datatypes.rb: use Date#new! instead of Date#new0 according to deprecation message. * lib/webrick/httpservlet/cgihandler.rb, lib/xsd/codegen/gensupport.rb, lib/soap/property.rb, lib/soap/mimemessage.rb, test/webrick/test_cgi.rb: use String#each_line and String#lines.to_a instead of String#each according to deprecation message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/https.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/webrick/https.rb') diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb index 81b65ce803..8ad89f85dc 100644 --- a/lib/webrick/https.rb +++ b/lib/webrick/https.rb @@ -21,6 +21,7 @@ module WEBrick alias orig_parse parse def parse(socket=nil) + @cipher = @server_cert = @client_cert = nil if socket.respond_to?(:cert) @server_cert = socket.cert || @config[:SSLCertificate] @client_cert = socket.peer_cert -- cgit v1.2.3