From: marshmellow42 Date: Thu, 30 Apr 2015 14:34:20 +0000 (-0400) Subject: fix bug in mfu cauth X-Git-Tag: v2.1.0~12^2~42 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/7eec1204e7ab07e2840b64c274715422af5f1393 fix bug in mfu cauth --- 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");