mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 01:18:06 +00:00
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:
parent
9b1dceb8da
commit
4b59bd6481
1 changed files with 0 additions and 3 deletions
|
|
@ -59,8 +59,5 @@ int cmd_verify() {
|
|||
}
|
||||
return set_res_sw(0x63, 0xc0 | file_read_uint8(file_retries_sopin));
|
||||
}
|
||||
else if (p2 == 0x85) {
|
||||
return SW_OK();
|
||||
}
|
||||
return SW_REFERENCE_NOT_FOUND();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue