summaryrefslogtreecommitdiff
path: root/src/p11tool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-21 20:52:45 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-01-21 20:52:45 +0100
commitb95f3ad5d4f0862aae3ac439f48dc9dd9bb44a3a (patch)
tree9e02d87dfdc9baca21a146b1b105af755601b764 /src/p11tool.c
parentcde338f1a6a2a23fec1553031bf35659f7ccfe4d (diff)
downloadgnutls-b95f3ad5d4f0862aae3ac439f48dc9dd9bb44a3a.tar.gz
updated p11tool def.
Diffstat (limited to 'src/p11tool.c')
-rw-r--r--src/p11tool.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/p11tool.c b/src/p11tool.c
index 265b292ae5..d9f1af9ce4 100644
--- a/src/p11tool.c
+++ b/src/p11tool.c
@@ -229,6 +229,15 @@ cmd_parser (int argc, char **argv)
sec_param = OPT_ARG(SEC_PARAM);
}
+ if (debug > 0)
+ {
+ fprintf(stderr, "Private: %s\n", ENABLED_OPT(PRIVATE)?"yes":"no");
+ fprintf(stderr, "Trusted: %s\n", ENABLED_OPT(TRUSTED)?"yes":"no");
+ fprintf(stderr, "Login: %s\n", ENABLED_OPT(LOGIN)?"yes":"no");
+ fprintf(stderr, "Detailed URLs: %s\n", ENABLED_OPT(DETAILED_URL)?"yes":"no");
+ fprintf(stderr, "\n");
+ }
+
switch (action)
{
case ACTION_PKCS11_LIST: