From 64c13c3aa1b0d6435faad5954b36daa34d09cebf Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 28 Sep 2020 08:23:49 +0200 Subject: [PATCH] style --- armsrc/epa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/armsrc/epa.c b/armsrc/epa.c index 25a70c885..899172164 100644 --- a/armsrc/epa.c +++ b/armsrc/epa.c @@ -222,10 +222,9 @@ int EPA_Read_CardAccess(uint8_t *buffer, size_t max_length) { // since the card doesn't always care for the expected length we send it, // we reserve 262 bytes here just to be safe (256-byte APDU + SW + ISO frame) uint8_t response_apdu[262]; - int rapdu_length = 0; // select the file EF.CardAccess - rapdu_length = EPA_APDU((uint8_t *)apdu_select_binary_cardaccess, + int rapdu_length = EPA_APDU((uint8_t *)apdu_select_binary_cardaccess, sizeof(apdu_select_binary_cardaccess), response_apdu, sizeof(response_apdu)