From e95406c0d1b417ff6db7ff8ee95df1b5981ec7b5 Mon Sep 17 00:00:00 2001 From: Lee Mracek Date: Mon, 30 Dec 2019 19:01:43 -0800 Subject: [PATCH] Fix GET_VERSION command for NTAG devices --- libfreefare/ntag21x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfreefare/ntag21x.c b/libfreefare/ntag21x.c index 846e0a9..00c7ac3 100644 --- a/libfreefare/ntag21x.c +++ b/libfreefare/ntag21x.c @@ -712,10 +712,9 @@ bool ntag21x_is_auth_supported(nfc_device *device, nfc_iso14443a_info nai) { int ret; - uint8_t cmd_step1[2]; + uint8_t cmd_step1[1]; uint8_t res_step1[8]; cmd_step1[0] = 0x60; - cmd_step1[1] = 0x00; nfc_target pnti; nfc_modulation modulation = {