Fix select aid to new callback.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-08-25 20:57:56 +02:00
parent ac33f5a026
commit 6780eb3935
3 changed files with 6 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ const uint8_t man_aid[] = {
};
extern void init_piv();
int man_select(app_t *a) {
int man_select(app_t *a, uint8_t force) {
(void) force;
a->process_apdu = man_process_apdu;
a->unload = man_unload;
sprintf((char *) res_APDU, "%d.%d.0", PIV_VERSION_MAJOR, PIV_VERSION_MINOR);