We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c42d9f commit 040ee2bCopy full SHA for 040ee2b
src/md5.cpp
@@ -298,7 +298,7 @@ void MD5::processBuffer()
298
if (paddedLength < BlockSize)
299
addLength = m_buffer + paddedLength;
300
else
301
- addLength = extra + paddedLength - BlockSize;
+ addLength = extra + (paddedLength - BlockSize);
302
303
// must be little endian
304
*addLength++ = msgBits & 0xFF; msgBits >>= 8;
0 commit comments