mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/lib/digest/hmac.rb: Complete half-boiled updates.
* ext/digest/sha2/lib/digest/sha2.rb: Fix #initialize_clone(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b2c7fe1bbf
commit
670887f5f6
3 changed files with 16 additions and 9 deletions
|
|
@ -62,7 +62,7 @@ module Digest
|
|||
|
||||
# :nodoc:
|
||||
def initialize_copy(other)
|
||||
@sha2 = @sha2.clone
|
||||
@sha2 = other.instance_eval { @sha2.clone }
|
||||
end
|
||||
|
||||
# :nodoc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue