aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-25 23:42:55 +0200
committerMattias Andrée <m@maandree.se>2026-09-25 23:42:55 +0200
commit4e81cb177ab77904e7a21ce70b9a5506bf09ad6e (patch)
tree05634bdcd5b52c25bbeb986748d6b2c5acb728fb /common.h
parentm (diff)
downloadlibrecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.gz
librecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.bz2
librecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.xz
Add tests
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index c1b21e8..48608e4 100644
--- a/common.h
+++ b/common.h
@@ -408,7 +408,7 @@ librecrypt_concat_void_(struct concat_state *state, size_t len)
{
size_t n = state->size ? MIN(state->size - 1u, len) : 0u;
if (len > SIZE_MAX - state->len)
- abort(); /* TODO not covered */
+ abort(); /* $covered$ */
state->len += len;
if (n) {
state->buf = &state->buf[n];
@@ -495,7 +495,7 @@ inline void
librecrypt_concat_char_no_nul_(struct concat_state *state, char c)
{
if (state->len == SIZE_MAX)
- abort(); /* TODO not covered */
+ abort(); /* $covered$ */
state->len += 1u;
if (state->size > 1u) {
*state->buf++ = c;