Permalink
Browse files

Prefer not to shadow a local

  • Loading branch information...
1 parent 98f96a0 commit 7e6652edbf87d26489d2b68cfa29abeb2ab588c7 @jeremy jeremy committed Sep 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/message_verifier.rb
@@ -45,7 +45,7 @@ def secure_compare(a, b)
l = a.unpack "C#{a.bytesize}"
res = 0
- b.each_byte { |b| res |= b ^ l.shift }
+ b.each_byte { |byte| res |= byte ^ l.shift }
res == 0
end

0 comments on commit 7e6652e

Please sign in to comment.