]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfu.c
Merge pull request #322 from Proxmark/iceman1001-patch-2
[proxmark3-svn] / client / cmdhfmfu.c
index ed8c588d3e4750a9c3edf0aee508799a665324d5..815022501bc97b227d0b48a32400659dd2cf5e81 100644 (file)
@@ -1474,7 +1474,7 @@ int CmdHF14AMfucAuth(const char *Cmd){
        //Change key to user defined one
        if (cmdp == 'k' || cmdp == 'K'){
                keyNo = param_get8(Cmd, 1);
-               if(keyNo > KEYS_3DES_COUNT) 
+               if(keyNo > KEYS_3DES_COUNT-1
                        errors = true;
        }
 
Impressum, Datenschutz