]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/elite_crack.c
minor adjustements, found some comments.
[proxmark3-svn] / client / loclass / elite_crack.c
index 2329e597d3f708a537b30a24e785c737607294c7..a282ec5022f07b3b16ddc0173451d55cce7cf9c5 100644 (file)
@@ -522,8 +522,8 @@ int bruteforceDump(uint8_t dump[], size_t dumpsize, uint16_t keytable[])
                errors += bruteforceItem(*attack, keytable);
        }
        free(attack);
-       clock_t t2 = clock();
-       float diff = (((float)t2 - (float)t1) / CLOCKS_PER_SEC );
+       t1 = clock() - t1;
+       float diff = ((float)t1 / CLOCKS_PER_SEC );
        prnlog("\nPerformed full crack in %f seconds",diff);
 
        // Pick out the first 16 bytes of the keytable.
Impressum, Datenschutz