From 1b7e3bde043cadc380e4ff2524dbc339e1edd90f Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 13 Nov 2017 11:03:35 +0100 Subject: p11tool: renamed pkcs11_set_pin() to allow static linking Resolves #322 Signed-off-by: Nikos Mavrogiannopoulos --- src/p11tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/p11tool.c') 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)) { -- cgit v1.2.1