diff options
author | Stef Walter <stef@memberwebs.com> | 2008-12-08 18:32:33 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-12-08 18:32:33 +0000 |
commit | 41cc7ecf94d5dda9bed3dbd15695aae266b4a3e4 (patch) | |
tree | 393fcbee1859423089c8ace314498a1c7cb6ac05 /src/check.c | |
parent | 356d3460f2fad27e9f7a9d2cabca2d58eacf356f (diff) |
Add verbose -v flag to P11 test.
Diffstat (limited to 'src/check.c')
-rw-r--r-- | src/check.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/check.c b/src/check.c index d51457c..4c71edd 100644 --- a/src/check.c +++ b/src/check.c @@ -4,6 +4,8 @@ #include <ctype.h> #include <stdarg.h> +int p11t_check_verbose = 0; + int p11t_check_fail(const char *message, ...) { @@ -18,6 +20,8 @@ int p11t_check_info(const char *message, ...) { va_list va; + if(!p11t_check_verbose) + return CONTINUE; va_start(va, message); p11t_msg_code("INFO", message, va); va_end(va); |