From fc5581c3c7fed3c48d8369ab1121d0c415e8835a Mon Sep 17 00:00:00 2001 From: Aram Date: Sat, 30 Apr 2016 07:48:32 +0200 Subject: [PATCH] Cleanup --- libnfc_crypto1_crack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc_crypto1_crack.c b/libnfc_crypto1_crack.c index 0693459..0749f60 100644 --- a/libnfc_crypto1_crack.c +++ b/libnfc_crypto1_crack.c @@ -630,7 +630,7 @@ int main (int argc, const char * argv[]) { nfc_device_set_property_bool(pnd,NP_HANDLE_PARITY,true); // Poll for a ISO14443A (MIFARE) tag if (nfc_initiator_select_passive_target(pnd,nmMifare,NULL,0,&target)) { - nested_auth(bytes_to_num(target.nti.nai.abtUid, 4), known_key, ab_key, for_block, target_block, target_key, fp); + nested_auth(uid, known_key, ab_key, for_block, target_block, target_key, fp); } else { printf("Don't move the tag!\n"); }