From 8ee67b1dd7300852ccd9bad92893d431082bc512 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 19 Sep 2017 22:19:50 +0200 Subject: [PATCH] More tests --- test/default/misuse.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/default/misuse.c b/test/default/misuse.c index f053300c..667e2ab0 100644 --- a/test/default/misuse.c +++ b/test/default/misuse.c @@ -6,12 +6,21 @@ # include static void -sigabrt_handler_12(int sig) +sigabrt_handler_13(int sig) { (void) sig; exit(0); } +static void +sigabrt_handler_12(int sig) +{ + (void) sig; + signal(SIGABRT, sigabrt_handler_13); + assert(crypto_pwhash_str_alg(NULL, "", 0U, 1U, 1U, -1) == -1); + exit(1); +} + static void sigabrt_handler_11(int sig) {