diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-16 12:11:02 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-16 12:11:02 +0200 |
| commit | 8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b (patch) | |
| tree | 827cd837787ad59964e9233b73629bb6c7c717a2 /librecrypt_hash.c | |
| parent | m (diff) | |
| download | librecrypt-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 '')
| -rw-r--r-- | librecrypt_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_hash.c b/librecrypt_hash.c index 050e0c1..e00c35b 100644 --- a/librecrypt_hash.c +++ b/librecrypt_hash.c @@ -58,7 +58,7 @@ check(const char *phrase, const char *settings, const char *chain, const char *h CANARY_X_CHECK(buf, 0u, 0u); EXPECT(librecrypt_hash(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, strlen(hash), lut, pad, strict_pad); assert(r > 0 && (size_t)r <= sizeof(expected)); |
