From 2ad67e5e17e1c5db1663ba3120dab00df5514c37 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Sun, 25 Aug 2024 18:30:29 +0200 Subject: [PATCH] Fix new Pico Keys SDK selection callback. Signed-off-by: Pol Henarejos --- src/hsm/sc_hsm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hsm/sc_hsm.c b/src/hsm/sc_hsm.c index e53858e..955b0a2 100644 --- a/src/hsm/sc_hsm.c +++ b/src/hsm/sc_hsm.c @@ -80,7 +80,8 @@ extern int cmd_bip_slip(); extern const uint8_t *ccid_atr; -int sc_hsm_select_aid(app_t *a) { +int sc_hsm_select_aid(app_t *a, uint8_t force) { + (void) force; a->process_apdu = sc_hsm_process_apdu; a->unload = sc_hsm_unload; init_sc_hsm();