diff options
author | bigbear <ns@bigbear.dk> | 2024-02-08 03:11:55 +0100 |
---|---|---|
committer | bigbear <ns@bigbear.dk> | 2024-02-08 19:52:53 +0100 |
commit | 1372520972daf599fbaa1f6f0d61a4a8c736db39 (patch) | |
tree | 1c6456bee582d96a95911318644c385a9b293976 /modules | |
parent | 410e1c7796a4142b565909bf645c21c4ef4d7b12 (diff) |
FIX sha1 crash
Diffstat (limited to 'modules')
-rw-r--r-- | modules/benchmark/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark/sha1.c b/modules/benchmark/sha1.c index b94ce254..3b213218 100644 --- a/modules/benchmark/sha1.c +++ b/modules/benchmark/sha1.c @@ -47,7 +47,7 @@ A million repetitions of "a" /* Hash a single 512-bit block. This is the core of the algorithm. */ -void SHA1Transform(guint32 state[5], guchar buffer[64]) +void SHA1Transform(guint32 state[20], guchar buffer[64]) { guint32 a, b, c, d, e; typedef union { |