diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-02 13:26:58 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-02 13:29:39 +0200 |
commit | b57521106297f57cb4c6bb7c98edbce407845860 (patch) | |
tree | 3486ca28baa3ba41c5ceed5ceca566a195bef2ff /src/p11tool.c | |
parent | ff3619a0129ec11fc605ef6ef8e85f62441babaa (diff) | |
download | gnutls-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.c | 2 |
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, |