]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/emv/test/cryptotest.c
Code improved for less memory
[proxmark3-svn] / client / emv / test / cryptotest.c
index b0212a70b453fe7d5a478c24eb834ae1c218684d..58cbdd4b9692055d5b0ddd18d2b1038e2b001282 100644 (file)
@@ -91,14 +91,14 @@ int ExecuteCryptoTests(bool verbose) {
        res = exec_crypto_test(verbose);
        if (res) TestFail = true;
 
-       res = roca_self_test(verbose);
+       res = roca_self_test();
        if (res) TestFail = true;
 
        PrintAndLog("\n--------------------------");
        if (TestFail)
-               PrintAndLog("Test(s) [ERROR].");
+               PrintAndLogEx(FAILED, "\tTest(s) [ %s ]", _RED_(FAIL) );
        else
-               PrintAndLog("Tests [OK].");
+               PrintAndLogEx(SUCCESS, "\tTest(s) [ %s ]", _GREEN_(OK) );
        
        return TestFail;
 }
Impressum, Datenschutz