]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/hardnested/hardnested_bruteforce.c
Revert "dbg: Watchdog resets while 'hw tune lf'"
[proxmark3-svn] / client / hardnested / hardnested_bruteforce.c
index 3b1c5071bbc1d34520f6913525d98cbffcf9a2bb..3072fc52ddef35b07e4a07988bcd8f6701b31a29 100644 (file)
@@ -54,7 +54,7 @@ THE SOFTWARE.
 #include <stdio.h>
 #include <pthread.h>
 #include <string.h>
 #include <stdio.h>
 #include <pthread.h>
 #include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include "proxmark3.h"
 #include "cmdhfmfhard.h"
 #include "hardnested_bf_core.h"
 #include "proxmark3.h"
 #include "cmdhfmfhard.h"
 #include "hardnested_bf_core.h"
@@ -140,7 +140,7 @@ bool verify_key(uint32_t cuid, noncelist_t *nonces, uint8_t *best_first_bytes, u
 }
 
 
 }
 
 
-static void* crack_states_thread(void* x){
+static void* __attribute__((force_align_arg_pointer)) crack_states_thread(void* x){
 
        struct arg {
                bool silent;
 
        struct arg {
                bool silent;
Impressum, Datenschutz