From 9665bd526aec1d3a575739b11789d4030235d77c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 11 Dec 2017 01:19:58 +0100 Subject: [PATCH] chg; less debug --- armsrc/mifareutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/mifareutil.c b/armsrc/mifareutil.c index 7026ed32d..4d16c4e16 100644 --- a/armsrc/mifareutil.c +++ b/armsrc/mifareutil.c @@ -182,14 +182,14 @@ int mifare_classic_authex(struct Crypto1State *pcs, uint32_t uid, uint8_t blockN // Receive 4 byte tag answer len = ReaderReceive(receivedAnswer, receivedAnswerPar); if (!len) { - if (MF_DBGLEVEL >= MF_DBG_ALL) Dbprintf("Authentication failed. Card timeout."); + if (MF_DBGLEVEL >= MF_DBG_EXTENDED) Dbprintf("Authentication failed. Card timeout."); return 2; } ntpp = prng_successor(nt, 32) ^ crypto1_word(pcs, 0,0); if (ntpp != bytes_to_num(receivedAnswer, 4)) { - if (MF_DBGLEVEL >= MF_DBG_ALL) Dbprintf("Authentication failed. Error card response."); + if (MF_DBGLEVEL >= MF_DBG_EXTENDED) Dbprintf("Authentication failed. Error card response."); return 3; } return 0;