1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nahi 2008-12-18 15:00:23 +00:00
parent 48408c2a0c
commit 817afcc8ab
10 changed files with 31 additions and 12 deletions

View file

@ -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