iso7816: don't show error for PIN status on 63C3

This commit is contained in:
Frank Morgner 2017-09-22 11:11:15 +02:00
parent b7b6680f38
commit bc075d6639
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ iso7816_check_sw(struct sc_card *card, unsigned int sw1, unsigned int sw2)
if (sw1 == 0x90)
return SC_SUCCESS;
if (sw1 == 0x63U && (sw2 & ~0x0fU) == 0xc0U ) {
sc_log(card->ctx, "Verification failed (remaining tries: %d)", (sw2 & 0x0f));
sc_log(card->ctx, "PIN not verified (remaining tries: %d)", (sw2 & 0x0f));
return SC_ERROR_PIN_CODE_INCORRECT;
}
for (i = 0; i < err_count; i++) {