the number of remaining retries is a warning from the card, not a fatal error
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@85 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -351,8 +351,8 @@ static int pace_mse_set_at(sc_card_t *card,
|
||||
apdu.sw2 & 0x0f,
|
||||
(apdu.sw2 & 0x0f) == 1? ", password must be resumed": (apdu.sw2 & 0x0f) == 0? ", password must be unblocked":
|
||||
"");
|
||||
r = SC_ERROR_PIN_CODE_INCORRECT;
|
||||
goto err;
|
||||
/* this is only a warning */
|
||||
r = SC_SUCCESS;
|
||||
} else {
|
||||
sc_error(card->ctx, "Unknown SWs; SW1=%02X, SW2=%02X\n",
|
||||
apdu.sw1, apdu.sw2);
|
||||
|
||||
Reference in New Issue
Block a user