aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-26 13:16:25 +0200
committerMattias Andrée <m@maandree.se>2026-09-26 13:16:25 +0200
commit1ac35866f21e3f1a65412ab277a7e045b7ab43a0 (patch)
tree8f30c80804b2f7e712d2629bea6bf6788bf352c3 /librecrypt_hash_.c
parentFix typos (diff)
downloadlibrecrypt-1ac35866f21e3f1a65412ab277a7e045b7ab43a0.tar.gz
librecrypt-1ac35866f21e3f1a65412ab277a7e045b7ab43a0.tar.bz2
librecrypt-1ac35866f21e3f1a65412ab277a7e045b7ab43a0.tar.xz
Rewrite librecrypt_add_algorithm to use string building functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--librecrypt_hash_.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_hash_.c b/librecrypt_hash_.c
index 3f3bfea..04c589e 100644
--- a/librecrypt_hash_.c
+++ b/librecrypt_hash_.c
@@ -160,7 +160,7 @@ next:
goto einval;
/* Must align with fixed hash size when hash size is fixed */
if (!algo->flexible_hash_size && hash_size != algo->hash_size)
- goto einval;
+ goto einval; /* TODO not covered */
}
/* For `librecrypt_crypt`: copy hash configurations to output */