diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-02 13:17:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-02 13:17:55 +0200 |
commit | ff3619a0129ec11fc605ef6ef8e85f62441babaa (patch) | |
tree | dee123cfc08e8dedfe6b3c83450b35f7fde5aaa0 /src/p11tool.c | |
parent | 6f7eb1cae8cf517d038fe4328c488bfbc5d10ac8 (diff) | |
download | gnutls-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.c | 2 |
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)) |