diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:36:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-23 22:40:29 +0200 |
commit | 2fd94aae29d53d9859bfc3f53777970def38e253 (patch) | |
tree | e45573486f44271d75ee22284953e5dcde303ca5 /libhashsum_init_md5_hasher.c | |
parent | First commit (diff) | |
download | libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.gz libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.bz2 libhashsum-2fd94aae29d53d9859bfc3f53777970def38e253.tar.xz |
Fixes + add SHA0 and SHA1 using libsha1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_md5_hasher.c')
-rw-r--r-- | libhashsum_init_md5_hasher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_init_md5_hasher.c b/libhashsum_init_md5_hasher.c index 4dcd363..292bd1e 100644 --- a/libhashsum_init_md5_hasher.c +++ b/libhashsum_init_md5_hasher.c @@ -150,7 +150,7 @@ finalise_common(struct libhashsum_hasher *this, uint8_t *m, size_t bytes, unsign LIBHASHSUM_1_NONNULL_ static int -finalise_const(struct libhashsum_hasher *this, const void *data, unsigned extra_bits, size_t bytes) +finalise_const(struct libhashsum_hasher *this, const void *data, size_t bytes, unsigned extra_bits) { const uint8_t *m = data; size_t r; |