Merge pull request #8792 from Temtaime/Temtaime-patch-1

Use size_t instead of uint for data indexing, because it hangs with f…
This commit is contained in:
Dennis 2023-08-08 21:25:17 +02:00 committed by GitHub
commit 41f6a45d28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,8 @@ struct MD5
*/
void put(scope const(ubyte)[] data...) @trusted pure nothrow @nogc
{
uint i, index, partLen;
size_t i;
uint index, partLen;
auto inputLen = data.length;
//Compute number of bytes mod 64