aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_crypt.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-16 12:11:02 +0200
committerMattias Andrée <m@maandree.se>2026-05-16 12:11:02 +0200
commit8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b (patch)
tree827cd837787ad59964e9233b73629bb6c7c717a2 /librecrypt_crypt.c
parentm (diff)
downloadlibrecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.gz
librecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.bz2
librecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.xz
Add "reserved" parameter to a few more functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_crypt.c')
-rw-r--r--librecrypt_crypt.c2
1 files changed, 1 insertions, 1 deletions
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));