From 7eec1204e7ab07e2840b64c274715422af5f1393 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Thu, 30 Apr 2015 10:34:20 -0400 Subject: [PATCH] fix bug in mfu cauth --- client/cmdhfmfu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index 2f7fa2c9..8b906904 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -540,8 +540,8 @@ int CmdHF14AMfucAuth(const char *Cmd){ } uint8_t *key = default_3des_keys[keyNo]; - if (try3DesAuthentication(key)) - PrintAndLog("Authentication successful. 3des key: %s",sprint_hex(key, 8)); + if (try3DesAuthentication(key)>0) + PrintAndLog("Authentication successful. 3des key: %s",sprint_hex(key, 16)); else PrintAndLog("Authentication failed"); -- 2.39.2