]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfdes.c
FIX: added a break if the device starts acting strange when aquirering data from...
[proxmark3-svn] / client / cmdhfmfdes.c
index 516b41bd72d258147e46037fead2ee861cdc2e08..4aeeffd92f83274537a63451c29de395e8a17e1a 100644 (file)
@@ -12,7 +12,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
-//#include <openssl/des.h>
 #include "loclass/des.h"
 #include "cmdmain.h"
 #include "proxmark3.h"
 #include "loclass/des.h"
 #include "cmdmain.h"
 #include "proxmark3.h"
@@ -612,7 +611,7 @@ int CmdHF14ADesAuth(const char *Cmd){
        
        c.d.asBytes[0] = keylength;
        memcpy(c.d.asBytes+1, key, keylength);
        
        c.d.asBytes[0] = keylength;
        memcpy(c.d.asBytes+1, key, keylength);
-       
+       clearCommandBuffer();
     SendCommand(&c);
        UsbCommand resp;
        
     SendCommand(&c);
        UsbCommand resp;
        
Impressum, Datenschutz