Commit 65c4ce0
committed
digest: remove optional parameter from OpenSSL::Digest#finish
OpenSSL::Digest#finish overrides Digest::Instance#finish and is called
from the Digest::Class framework in the digest library. This method is
not supposed to take any arguments, as suggested by the RDoc comment for
Digest::Instance#finish.
It is a private method and not exposed to users. Let's remove it.
This optional parameter has been there since r15602 in Ruby trunk,
which converted OpenSSL::Digest to the current state, a subclass of
Digest::Class.1 parent 9cc8a83 commit 65c4ce0
1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | 228 | | |
| 229 | + | |
239 | 230 | | |
240 | 231 | | |
241 | 232 | | |
| |||
418 | 409 | | |
419 | 410 | | |
420 | 411 | | |
421 | | - | |
| 412 | + | |
422 | 413 | | |
423 | 414 | | |
424 | 415 | | |
| |||
0 commit comments