Browse Source

Fix for the MD5 generator.

tags/2021-05-28
Julian Storer 15 years ago
parent
commit
424af2f2c8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      juce_amalgamated.cpp
  2. +1
    -1
      src/cryptography/juce_MD5.cpp

+ 1
- 1
juce_amalgamated.cpp 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;


+ 1
- 1
src/cryptography/juce_MD5.cpp 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;


Loading…
Cancel
Save