From 20ac254bac8855dd588090365793460e3dd7a523 Mon Sep 17 00:00:00 2001 From: nahi Date: Mon, 20 Dec 2010 16:55:16 +0000 Subject: * lib/webrick/https.rb: uninitialized instance variables. Backport a part of r20864 for ruby_1_8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/https.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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