Skip to content

Commit 3190db7

Browse files
committed
openssl: remove impossible EOFError raise in OpenSSL::Buffering
ruby/openssl@146c2d3
1 parent 279066e commit 3190db7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/jopenssl23/openssl/buffering.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def readpartial(maxlen, buf=nil)
132132
buf.replace(ret)
133133
ret = buf
134134
end
135-
raise EOFError if ret.empty?
136135
ret
137136
end
138137

@@ -182,7 +181,6 @@ def read_nonblock(maxlen, buf=nil, exception: true)
182181
buf.replace(ret)
183182
ret = buf
184183
end
185-
raise EOFError if ret.empty?
186184
ret
187185
end
188186

0 commit comments

Comments
 (0)