mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
tools:gpg-card: Fix an error code for Reset Code.
* tools/gpg-card.c (cmd_unblock): Use GPG_ERR_NO_RESET_CODE. -- GnuPG-bug-id: 6425 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e6b3d53db3
commit
65607fb81d
@ -2983,7 +2983,7 @@ cmd_unblock (card_info_t info)
|
||||
else if (!info->chvinfo[1])
|
||||
{
|
||||
log_error (_("Reset Code not or not anymore available\n"));
|
||||
err = gpg_error (GPG_ERR_PIN_BLOCKED);
|
||||
err = gpg_error (GPG_ERR_NO_RESET_CODE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user