1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibCrypto: Stop shadowing i variable

This commit is contained in:
Jelle Raaijmakers 2023-03-24 01:42:30 +01:00 committed by Linus Groh
parent c048cf2004
commit 88b0b80aab
2 changed files with 7 additions and 7 deletions

View file

@ -132,7 +132,7 @@ SHA1::DigestType SHA1::peek()
transform(m_data_buffer);
for (size_t i = 0; i < 4; ++i) {
for (i = 0; i < 4; ++i) {
digest.data[i + 0] = (m_state[0] >> (24 - i * 8)) & 0x000000ff;
digest.data[i + 4] = (m_state[1] >> (24 - i * 8)) & 0x000000ff;
digest.data[i + 8] = (m_state[2] >> (24 - i * 8)) & 0x000000ff;