[rubygems/rubygems] Remove redundant bitwise AND

https://github.com/rubygems/rubygems/commit/a20bac7924
This commit is contained in:
David Rodríguez 2022-06-02 12:12:21 +02:00 committed by git
parent eb5a01970f
commit 4eb140b0e4
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module Bundler
f = (b ^ c ^ d) f = (b ^ c ^ d)
k = 0xCA62C1D6 k = 0xCA62C1D6
end end
t = SHA1_MASK & (SHA1_MASK & rotate(a, 5) + f + e + k + w[i]) t = SHA1_MASK & rotate(a, 5) + f + e + k + w[i]
a, b, c, d, e = t, a, SHA1_MASK & rotate(b, 30), c, d # rubocop:disable Style/ParallelAssignment a, b, c, d, e = t, a, SHA1_MASK & rotate(b, 30), c, d # rubocop:disable Style/ParallelAssignment
end end
mutated = [a, b, c, d, e] mutated = [a, b, c, d, e]