summaryrefslogtreecommitdiff
path: root/src/p11tool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-02 13:17:55 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-02 13:17:55 +0200
commitff3619a0129ec11fc605ef6ef8e85f62441babaa (patch)
treedee123cfc08e8dedfe6b3c83450b35f7fde5aaa0 /src/p11tool.c
parent6f7eb1cae8cf517d038fe4328c488bfbc5d10ac8 (diff)
downloadgnutls-ff3619a0129ec11fc605ef6ef8e85f62441babaa.tar.gz
p11tool: If there is only a single token available, don't bother complaining about specifying the correct URL
Diffstat (limited to 'src/p11tool.c')
-rw-r--r--src/p11tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p11tool.c b/src/p11tool.c
index 898092dd05..72e8888df9 100644
--- a/src/p11tool.c
+++ b/src/p11tool.c
@@ -202,7 +202,7 @@ static void cmd_parser(int argc, char **argv)
/* handle actions
*/
if (HAVE_OPT(LIST_TOKENS))
- pkcs11_token_list(outfile, detailed_url, &cinfo);
+ pkcs11_token_list(outfile, detailed_url, &cinfo, 0);
else if (HAVE_OPT(LIST_MECHANISMS))
pkcs11_mechanism_list(outfile, url, login, &cinfo);
else if (HAVE_OPT(GENERATE_RANDOM))