mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove redundant bitwise AND
https://github.com/rubygems/rubygems/commit/a20bac7924
This commit is contained in:
parent
eb5a01970f
commit
4eb140b0e4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module Bundler
|
|||
f = (b ^ c ^ d)
|
||||
k = 0xCA62C1D6
|
||||
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
|
||||
end
|
||||
mutated = [a, b, c, d, e]
|
||||
|
|
Loading…
Reference in a new issue