summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-03-28 14:13:14 +0100
committerJakub Jelen <jjelen@redhat.com>2019-06-11 12:38:55 +0200
commit222d167424d643b5531ec64bc3eb24c18b8516ad (patch)
treeaa375e0eea148041ca9db1956e62992941014d84 /src
parent5affe0883f8282d25d19f67e6b9729cc2364eeda (diff)
card_7816: Log the selected applet AID
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/card_7816.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/card_7816.c b/src/card_7816.c
index 417f31d..ca99e23 100644
--- a/src/card_7816.c
+++ b/src/card_7816.c
@@ -12,6 +12,7 @@
#include "vcard.h"
#include "vcard_emul.h"
#include "card_7816.h"
+#include "common.h"
/* Global Platform Card Manager applet AID */
@@ -635,6 +636,7 @@ vcard7816_vm_process_apdu(VCard *card, VCardAPDU *apdu,
VCARD7816_STATUS_ERROR_FUNCTION_NOT_SUPPORTED);
break;
}
+ g_debug("%s: Selecting file %s", __func__, hex_dump(apdu->a_body, apdu->a_Lc));
/* side effect, deselect the current applet if no applet has been found
*/