summaryrefslogtreecommitdiff
path: root/ext/digest/sha2/lib
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-20 13:01:55 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-20 13:01:55 +0000
commit670887f5f697c57a61fa837d4cf505d3d18a0bc6 (patch)
treed49eb6fa182be04d42d1243f0781384bbc751518 /ext/digest/sha2/lib
parentb2c7fe1bbffe9e5fe741b7dd3725017b55250c1e (diff)
* 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
Diffstat (limited to 'ext/digest/sha2/lib')
-rw-r--r--ext/digest/sha2/lib/digest/sha2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha2/lib/digest/sha2.rb b/ext/digest/sha2/lib/digest/sha2.rb
index 683b9904a3..52dd639f9b 100644
--- a/ext/digest/sha2/lib/digest/sha2.rb
+++ b/ext/digest/sha2/lib/digest/sha2.rb
@@ -62,7 +62,7 @@ module Digest
# :nodoc:
def initialize_copy(other)
- @sha2 = @sha2.clone
+ @sha2 = other.instance_eval { @sha2.clone }
end
# :nodoc: