]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/main.c
ADD: added some changes from Marshmellow
[proxmark3-svn] / client / loclass / main.c
index b7ea53e57aad3fdb31731ebd8e3b1b26d041140a..d1b0359b3c2702921a183118c8dd7516afbf1fea 100644 (file)
@@ -38,7 +38,6 @@
 
 
 #include <stdio.h>
-#include <cipherutils.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <string.h>
@@ -56,11 +55,15 @@ int unitTests()
        errors += testMAC();
        errors += doKeyTests(0);
        errors += testElite();
+    if(errors)
+    {
+        prnlog("OBS! There were errors!!!");
+    }
        return errors;
 }
 int showHelp()
 {
-       prnlog("Usage: iclazz [options]");
+    prnlog("Usage: loclass [options]");
        prnlog("Options:");
        prnlog("-t                 Perform self-test");
        prnlog("-h                 Show this help");
@@ -78,8 +81,6 @@ int showHelp()
 
 int main (int argc, char **argv)
 {
-
-
        prnlog("IClass Cipher version 1.2, Copyright (C) 2014 Martin Holst Swende\n");
        prnlog("Comes with ABSOLUTELY NO WARRANTY");
        prnlog("Released as GPLv2\n");
Impressum, Datenschutz