diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-11-13 11:03:35 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-11-15 17:06:22 +0100 |
commit | 1b7e3bde043cadc380e4ff2524dbc339e1edd90f (patch) | |
tree | 7810807574514e17d1b3266ba754e01597508a62 /src/p11tool.c | |
parent | 27dc77198c99ceba38f728207d24add5b71a873c (diff) | |
download | gnutls-1b7e3bde043cadc380e4ff2524dbc339e1edd90f.tar.gz |
p11tool: renamed pkcs11_set_pin() to allow static linking
Resolves #322
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'src/p11tool.c')
-rw-r--r-- | src/p11tool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p11tool.c b/src/p11tool.c index 2e9c80074c..1042af2ad2 100644 --- a/src/p11tool.c +++ b/src/p11tool.c @@ -328,9 +328,9 @@ static void cmd_parser(int argc, char **argv) } else if (HAVE_OPT(INITIALIZE)) { pkcs11_init(outfile, url, label, &cinfo); } else if (HAVE_OPT(INITIALIZE_PIN)) { - pkcs11_set_pin(outfile, url, &cinfo, 0); + pkcs11_set_token_pin(outfile, url, &cinfo, 0); } else if (HAVE_OPT(INITIALIZE_SO_PIN)) { - pkcs11_set_pin(outfile, url, &cinfo, 1); + pkcs11_set_token_pin(outfile, url, &cinfo, 1); } else if (HAVE_OPT(DELETE)) { pkcs11_delete(outfile, url, flags, &cinfo); } else if (HAVE_OPT(GENERATE_PRIVKEY)) { |