From 146c2d3b94c1dd2f9d185a01728fabefcbce219c Mon Sep 17 00:00:00 2001 From: rhe Date: Sat, 21 May 2016 03:44:10 +0000 Subject: 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 . [GH ruby/openssl#23] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/openssl/buffering.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/openssl/buffering.rb b/lib/openssl/buffering.rb index d0821990..61e1f43e 100644 --- a/lib/openssl/buffering.rb +++ b/lib/openssl/buffering.rb @@ -132,7 +132,6 @@ module OpenSSL::Buffering buf.replace(ret) ret = buf end - raise EOFError if ret.empty? ret end @@ -182,7 +181,6 @@ module OpenSSL::Buffering buf.replace(ret) ret = buf end - raise EOFError if ret.empty? ret end -- cgit v1.2.3