Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prefer not to shadow a local

  • Loading branch information...
commit 7e6652edbf87d26489d2b68cfa29abeb2ab588c7 1 parent 98f96a0
Jeremy Kemper jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/message_verifier.rb
2  activesupport/lib/active_support/message_verifier.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.