diff options
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)); |
