From 8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 May 2026 12:11:02 +0200 Subject: Add "reserved" parameter to a few more functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librecrypt_crypt.c') diff --git a/librecrypt_crypt.c b/librecrypt_crypt.c index 893c96f..c3f441b 100644 --- a/librecrypt_crypt.c +++ b/librecrypt_crypt.c @@ -56,7 +56,7 @@ check(const char *phrase, const char *settings, const char *chain, size_t chain_ EXPECT(librecrypt_crypt(buf, 0u, phrase, len, settings, NULL) == (ssize_t)hashlen); EXPECT(librecrypt_crypt(NULL, 0u, phrase, len, settings, NULL) == (ssize_t)hashlen); - lut = librecrypt_get_encoding(settings, strlen(settings), &pad, &strict_pad, 1); + lut = librecrypt_get_encoding(settings, strlen(settings), &pad, &strict_pad, 1, NULL); assert(lut); r = librecrypt_decode(expected, sizeof(expected), &hash[hash_prefix], hashlen - hash_prefix, lut, pad, strict_pad); assert(r > 0 && (size_t)r <= sizeof(expected)); -- cgit v1.2.3-70-g09d2