Permalink
Browse files

* lib/webrick/https.rb: uninitialized instance variables.

          Backport a part of r20864 for ruby_1_8.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@30281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent a7e8938 commit e26974148dbe154e858e9b8ea912a66e65ce1de2 @nahi nahi committed Dec 20, 2010
Showing with 6 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +1 −0 lib/webrick/https.rb
View
@@ -1,3 +1,8 @@
+Tue Dec 21 01:43:01 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
+
+ * lib/webrick/https.rb: uninitialized instance variables.
+ Backport a part of r20864 for ruby_1_8.
+
Sat Dec 4 11:35:15 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (init_mkmf): needs default library path even if
View
@@ -21,6 +21,7 @@ class HTTPRequest
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

0 comments on commit e269741

Please sign in to comment.