From 2fd94aae29d53d9859bfc3f53777970def38e253 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Aug 2024 22:36:41 +0200 Subject: Fixes + add SHA0 and SHA1 using libsha1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_ripemd_320_hasher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhashsum_init_ripemd_320_hasher.c') diff --git a/libhashsum_init_ripemd_320_hasher.c b/libhashsum_init_ripemd_320_hasher.c index 4690be8..d9ee4aa 100644 --- a/libhashsum_init_ripemd_320_hasher.c +++ b/libhashsum_init_ripemd_320_hasher.c @@ -187,7 +187,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; -- cgit v1.2.3-70-g09d2