diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/lib/openssl/buffering.rb | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Nov 22 12:17:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize): + initialize of a module should pass arguments to super. + Fri Nov 22 12:02:58 2013 Tanaka Akira <akr@fsij.org> * test/ruby/test_settracefunc.rb: Ignore events from other threads. diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index 0ccbf0f9bf..85cf8af31c 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -40,7 +40,8 @@ module OpenSSL::Buffering ## # Creates an instance of OpenSSL's buffering IO module. - def initialize + def initialize(*) + super @eof = false @rbuffer = "" @sync = @io.sync |