Skip to content

Commit

Permalink
Applied stbrumme#15
Browse files Browse the repository at this point in the history
  • Loading branch information
KaruroChori authored Dec 1, 2024
1 parent 8c42d9f commit 040ee2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/md5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void MD5::processBuffer()
if (paddedLength < BlockSize)
addLength = m_buffer + paddedLength;
else
addLength = extra + paddedLength - BlockSize;
addLength = extra + (paddedLength - BlockSize);

// must be little endian
*addLength++ = msgBits & 0xFF; msgBits >>= 8;
Expand Down

0 comments on commit 040ee2b

Please sign in to comment.