From adfa8e1265f6155d1a582baa9929af198bb5d4de Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 May 2026 17:45:39 +0200 Subject: Misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_wipe_str.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'librecrypt_wipe_str.c') 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; } -- cgit v1.2.3-70-g09d2