]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/mfkey/mfkey32.c
fix WaitForResponse (without timeout)
[proxmark3-svn] / tools / mfkey / mfkey32.c
index a5665ab2e398042bccba48b753b42e8862cb95fd..1f7747b549d10ec0daf8ad21c8a08f7347f93624 100755 (executable)
@@ -3,14 +3,14 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include "crapto1/crapto1.h"
-#include "mfkey.h"
+#include "mifare/mfkey.h"
 #include "util_posix.h"
 
 
 // 32 bit recover key from 2 nonces
 int main (int argc, char *argv[]) {
 
-  nonces_t data;
+  nonces_t data = {0};
   uint32_t ks2;     // keystream used to encrypt reader response
   uint64_t key;     // recovered key
 
Impressum, Datenschutz