diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-13 21:37:08 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-13 21:37:08 +0200 |
| commit | 5598f1d5da1940ca2f8597b464f331d4cea2cdc0 (patch) | |
| tree | 938814d2e119005b1a580add853708f9ecfb4b3f /librecrypt_realise_salts.c | |
| parent | Work on test code (diff) | |
| download | librecrypt-5598f1d5da1940ca2f8597b464f331d4cea2cdc0.tar.gz librecrypt-5598f1d5da1940ca2f8597b464f331d4cea2cdc0.tar.bz2 librecrypt-5598f1d5da1940ca2f8597b464f331d4cea2cdc0.tar.xz | |
Tests and fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_realise_salts.c')
| -rw-r--r-- | librecrypt_realise_salts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_realise_salts.c b/librecrypt_realise_salts.c index 58ba6d3..3fcce88 100644 --- a/librecrypt_realise_salts.c +++ b/librecrypt_realise_salts.c @@ -126,7 +126,7 @@ librecrypt_realise_salts(char *restrict out_buffer, size_t size, const char *set /* Write padding charaters */ right = right < size ? right : size; for (i = 0u; i < right; i++) - out_buffer[right] = pad; + out_buffer[right] = pad; /* $covered$ (TODO we currently don't have an algorithm to trigger this) */ out_buffer = &out_buffer[right]; size -= right; } |
