Mask more one pin change.
This commit is contained in:
@@ -1021,7 +1021,7 @@ static bool change_pin(ykpiv_state *state, enum enum_action action, const char *
|
|||||||
return false;
|
return false;
|
||||||
} else if(sw != 0x9000) {
|
} else if(sw != 0x9000) {
|
||||||
if((sw >> 8) == 0x63) {
|
if((sw >> 8) == 0x63) {
|
||||||
int tries = sw & 0xff;
|
int tries = sw & 0xf;
|
||||||
fprintf(stderr, "Failed verifying %s code, now %d tries left before blocked.\n",
|
fprintf(stderr, "Failed verifying %s code, now %d tries left before blocked.\n",
|
||||||
name, tries);
|
name, tries);
|
||||||
} else if(sw == 0x6983) {
|
} else if(sw == 0x6983) {
|
||||||
|
|||||||
Reference in New Issue
Block a user