1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Fix for the MD5 generator.

This commit is contained in:
Julian Storer 2010-01-19 16:39:23 +00:00
parent c539e8f5c0
commit 424af2f2c8
2 changed files with 2 additions and 2 deletions

View file

@ -4510,7 +4510,7 @@ void MD5::ProcessContext::processBlock (const uint8* const data, size_t dataSize
i = spaceLeft;
while (i < dataSize - 63)
while (i + 64 <= dataSize)
{
transform (data + i);
i += 64;

View file

@ -163,7 +163,7 @@ void MD5::ProcessContext::processBlock (const uint8* const data, size_t dataSize
i = spaceLeft;
while (i < dataSize - 63)
while (i + 64 <= dataSize)
{
transform (data + i);
i += 64;