mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-05-07 12:43:06 +00:00
Fix selecting PUK for AUT.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
eb94ed7806
commit
168a8cd5a6
1 changed files with 1 additions and 1 deletions
|
|
@ -2029,7 +2029,7 @@ static int cmd_mse() {
|
|||
}
|
||||
else if (p2 == 0xA4) { /* Aut */
|
||||
for (int i = 0; i < MAX_PUK; i++) {
|
||||
file_t *ef = search_dynamic_file(EF_PUK+p2);
|
||||
file_t *ef = search_dynamic_file(EF_PUK+i);
|
||||
if (!ef)
|
||||
break;
|
||||
if (ef->data == NULL || file_get_size(ef) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue