From d30f6fc781f403b156f4fe4548cb23651e8a6a84 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 16 Sep 2015 14:32:30 +0200 Subject: [PATCH] unblock-pin shouldn't tell you new puk --- tool/yubico-piv-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/yubico-piv-tool.c b/tool/yubico-piv-tool.c index a1b278d..cf6e463 100644 --- a/tool/yubico-piv-tool.c +++ b/tool/yubico-piv-tool.c @@ -978,7 +978,7 @@ static bool change_pin(ykpiv_state *state, enum enum_action action, const char * char pinbuf[9] = {0}; char new_pinbuf[9] = {0}; const char *name = action == action_arg_changeMINUS_pin ? "pin" : "puk"; - const char *new_name = action == action_arg_changeMINUS_pin ? "new pin" : "new puk"; + const char *new_name = action == action_arg_changeMINUS_puk ? "new puk" : "new pin"; int sw; size_t pin_len; size_t new_len;