summaryrefslogtreecommitdiff
path: root/src/p11tool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-02 13:26:58 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-02 13:29:39 +0200
commitb57521106297f57cb4c6bb7c98edbce407845860 (patch)
tree3486ca28baa3ba41c5ceed5ceca566a195bef2ff /src/p11tool.c
parentff3619a0129ec11fc605ef6ef8e85f62441babaa (diff)
downloadgnutls-b57521106297f57cb4c6bb7c98edbce407845860.tar.gz
p11tool: Ask for label if not specified.
Added --batch parameter to disable interaction.
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 72e8888df9..809383a902 100644
--- a/src/p11tool.c
+++ b/src/p11tool.c
@@ -246,7 +246,7 @@ static void cmd_parser(int argc, char **argv)
} else if (HAVE_OPT(INITIALIZE))
pkcs11_init(outfile, url, label, &cinfo);
else if (HAVE_OPT(DELETE))
- pkcs11_delete(outfile, url, 0, login, &cinfo);
+ pkcs11_delete(outfile, url, login, &cinfo);
else if (HAVE_OPT(GENERATE_ECC)) {
key_type = GNUTLS_PK_EC;
pkcs11_generate(outfile, url, key_type,