diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-01 17:45:39 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-01 17:45:39 +0200 |
| commit | adfa8e1265f6155d1a582baa9929af198bb5d4de (patch) | |
| tree | e3cee62aa5a8768621cd294295f787b8cc54141b /librecrypt_wipe_str.c | |
| parent | Add librecrypt.7 and README (diff) | |
| download | librecrypt-adfa8e1265f6155d1a582baa9929af198bb5d4de.tar.gz librecrypt-adfa8e1265f6155d1a582baa9929af198bb5d4de.tar.bz2 librecrypt-adfa8e1265f6155d1a582baa9929af198bb5d4de.tar.xz | |
Misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | librecrypt_wipe_str.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/librecrypt_wipe_str.c b/librecrypt_wipe_str.c index 8c31cdc..81f9d54 100644 --- a/librecrypt_wipe_str.c +++ b/librecrypt_wipe_str.c @@ -25,13 +25,19 @@ main(void) { char buf[64u]; size_t i; + SET_UP_ALARM(); + + /* Check NULL is supported */ librecrypt_wipe_str(NULL); + + /* Check normal cases */ CHECK(""); CHECK("hello"); CHECK("hello developer"); CHECK(" hello developer "); CHECK("\1 hello developer \1"); + return 0; } |
