]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/cipherutils.c
CHG: enhanced the "hf mfu info" a lot. It can detect UL/UL-C/UL-EV1/NTAG213/NTAG215...
[proxmark3-svn] / client / loclass / cipherutils.c
index 8c6a278a31e64a99448506d71e552d6b736aa6ed..83b3c9fa2476f6454ac507e777224617795a3bd3 100644 (file)
@@ -207,13 +207,14 @@ void printarr_human_readable(char * title, uint8_t* arr, int len)
                cx += snprintf(output+cx,outsize-cx, "%02x ",*(arr+i));
        }
        prnlog(output);
+       free(output);
 }
 
 //-----------------------------
 // Code for testing below
 //-----------------------------
 
-
+#ifndef ON_DEVICE
 int testBitStream()
 {
        uint8_t input [] = {0xDE,0xAD,0xBE,0xEF,0xDE,0xAD,0xBE,0xEF};
@@ -286,3 +287,4 @@ int testCipherUtils(void)
        retval |= testReversedBitstream();
        return retval;
 }
+#endif
Impressum, Datenschutz