0x85 and 0x86 should return not found to avoid authentication path.
Fixes #81 and #84. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -59,8 +59,5 @@ int cmd_verify() {
|
|||||||
}
|
}
|
||||||
return set_res_sw(0x63, 0xc0 | file_read_uint8(file_retries_sopin));
|
return set_res_sw(0x63, 0xc0 | file_read_uint8(file_retries_sopin));
|
||||||
}
|
}
|
||||||
else if (p2 == 0x85) {
|
|
||||||
return SW_OK();
|
|
||||||
}
|
|
||||||
return SW_REFERENCE_NOT_FOUND();
|
return SW_REFERENCE_NOT_FOUND();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user