From d7d75caecf10b9151cf5db48c019043b466321d4 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 19 Aug 2024 13:11:48 +0200 Subject: [PATCH] Fix OATH selection. Signed-off-by: Pol Henarejos --- src/fido/oath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fido/oath.c b/src/fido/oath.c index 3bf212f..0a5d681 100644 --- a/src/fido/oath.c +++ b/src/fido/oath.c @@ -80,7 +80,7 @@ int oath_select(app_t *a) { res_APDU[res_APDU_size++] = 0; res_APDU[res_APDU_size++] = TAG_NAME; res_APDU[res_APDU_size++] = 8; - memcpy(res_APDU + res_APDU_size, pico_serial_str, 8); + memcpy(res_APDU + res_APDU_size, pico_serial_str, 8); res_APDU_size += 8; if (file_has_data(search_dynamic_file(EF_OATH_CODE)) == true) { random_gen(NULL, challenge, sizeof(challenge)); res_APDU[res_APDU_size++] = TAG_CHALLENGE;