From 1f168b80a2c7cf0b58c50400ffaff067b144da77 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Sep 2026 23:43:29 +0200 Subject: Fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_add_algorithm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'librecrypt_add_algorithm.c') diff --git a/librecrypt_add_algorithm.c b/librecrypt_add_algorithm.c index 24a17c7..4556c9b 100644 --- a/librecrypt_add_algorithm.c +++ b/librecrypt_add_algorithm.c @@ -129,7 +129,7 @@ librecrypt_add_algorithm(char *out_buffer, size_t size, const char *augend, phrase = NULL; phraselen = 0u; } else { - /* Measure old ASCII hash; `strlen(augent)` will be `prefix1 + len` */ + /* Measure old ASCII hash; `strlen(augend)` will be `prefix1 + len` */ len = strlen(&augend[prefix1]); /* Get encoding information */ @@ -154,7 +154,7 @@ librecrypt_add_algorithm(char *out_buffer, size_t size, const char *augend, abort(); /* $covered$ (impossible) */ } - /* Chain the hash algorithms: write `augent` */ + /* Chain the hash algorithms: write `augend` */ min = MIN(prefix1, size); if (out_buffer != augend && min) memmove(out_buffer, augend, min); -- cgit v1.3.1