aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_settings_prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_settings_prefix.c')
-rw-r--r--librecrypt_settings_prefix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/librecrypt_settings_prefix.c b/librecrypt_settings_prefix.c
index 89bb5ae..fbb8efe 100644
--- a/librecrypt_settings_prefix.c
+++ b/librecrypt_settings_prefix.c
@@ -36,12 +36,12 @@ librecrypt_settings_prefix(const char *hash, size_t *hashsize_out, LIBRECRYPT_CO
if (!algo)
goto zero;
if (!algo->flexible_hash_size)
- goto zero; /* $covered$ (TODO we currently don't have an algorithm to trigger this) */
+ goto zero; /* TODO test with custom hash function */
/* Get the hash size */
- if (!librecrypt_scan_settings_(&hash[ret], len - ret, "%^b",
- &hashsize, (uintmax_t)1u, (uintmax_t)SIZE_MAX,
- algo->decoding_lut, algo->pad, algo->strict_pad))
+ if (!librecrypt_scan_settings(&hash[ret], len - ret, "%^b",
+ &hashsize, (uintmax_t)1u, (uintmax_t)SIZE_MAX,
+ algo->decoding_lut, algo->pad, algo->strict_pad))
goto zero;
*hashsize_out = (size_t)hashsize;