mirror of
https://github.com/polhenarejos/pico-fido.git
synced 2025-12-19 10:54:42 +08:00
Fix returning otp status over ccid.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -126,7 +126,8 @@ app_t *otp_select(app_t *a, const uint8_t *aid, uint8_t aid_len) {
|
|||||||
config_seq = 0;
|
config_seq = 0;
|
||||||
}
|
}
|
||||||
otp_status();
|
otp_status();
|
||||||
res_APDU_size = 7;
|
memmove(res_APDU, res_APDU + 1, 6);
|
||||||
|
res_APDU_size = 6;
|
||||||
apdu.ne = res_APDU_size;
|
apdu.ne = res_APDU_size;
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user