ruby-changes:43023
From: rhe <ko1@a...>
Date: Sat, 21 May 2016 12:44:17 +0900 (JST)
Subject: [ruby-changes:43023] rhe:r55097 (trunk): openssl: remove impossible EOFError raise in OpenSSL::Buffering
rhe 2016-05-21 12:44:10 +0900 (Sat, 21 May 2016) New Revision: 55097 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55097 Log: openssl: remove impossible EOFError raise in OpenSSL::Buffering * ext/openssl/lib/openssl/buffering.rb (read_nonblock, readpartial): Remove impossible EOFError raise. Patch by Zach Anker <zanker@s...>. [GH ruby/openssl#23] Modified files: trunk/ChangeLog trunk/ext/openssl/lib/openssl/buffering.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 55096) +++ ChangeLog (revision 55097) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat May 21 12:40:36 2016 Kazuki Yamaguchi <k@r...> + + * ext/openssl/lib/openssl/buffering.rb (read_nonblock, readpartial): + Remove impossible EOFError raise. Patch by Zach Anker + <zanker@s...>. [GH ruby/openssl#23] + Sat May 21 11:18:42 2016 Evgeni Golov <evgeni@g...> * lib/ipaddr.rb: [DOC] fix documentation of IN6MASK to mention Index: ext/openssl/lib/openssl/buffering.rb =================================================================== --- ext/openssl/lib/openssl/buffering.rb (revision 55096) +++ ext/openssl/lib/openssl/buffering.rb (revision 55097) @@ -132,7 +132,6 @@ module OpenSSL::Buffering https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L132 buf.replace(ret) ret = buf end - raise EOFError if ret.empty? ret end @@ -182,7 +181,6 @@ module OpenSSL::Buffering https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L181 buf.replace(ret) ret = buf end - raise EOFError if ret.empty? ret end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/