More tests

This commit is contained in:
Frank Denis 2017-09-19 22:19:50 +02:00
parent 1f72dec89d
commit 8ee67b1dd7

View File

@ -6,12 +6,21 @@
# include <signal.h> # include <signal.h>
static void static void
sigabrt_handler_12(int sig) sigabrt_handler_13(int sig)
{ {
(void) sig; (void) sig;
exit(0); 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 static void
sigabrt_handler_11(int sig) sigabrt_handler_11(int sig)
{ {