File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -565,9 +565,11 @@ TrustPadding = Y
565
565
#somedirectory
566
566
#$JOHN/my.pot
567
567
568
- # Changing this to Yes will enable legacy-style benchmarks, for comparisons
569
568
[Debug]
569
+ # Changing this to Yes will enable legacy-style benchmarks, for comparisons
570
570
Benchmarks_1_8 = N
571
+ # Changing this to Yes will test salted formats as one/many salts, for debug
572
+ BenchmarkMany = N
571
573
572
574
[PRINCE]
573
575
# Default wordlist file name. Will fall back to standard wordlist if not
Original file line number Diff line number Diff line change @@ -742,8 +742,9 @@ int benchmark_all(void)
742
742
continue ;
743
743
744
744
/* Hack for scripting raw/one/many tests, only test salted formats */
745
- if (!cfg_get_bool (SECTION_DEBUG , NULL , "BenchmarkMany" , 0 )) {
746
- if (!format -> params .salt_size )
745
+ if (cfg_get_bool (SECTION_DEBUG , NULL , "BenchmarkMany" , 0 )) {
746
+ if (!format -> params .salt_size ||
747
+ (format -> params .flags & FMT_DYNAMIC ))
747
748
continue ;
748
749
format -> params .benchmark_length &= ~0x500 ;
749
750
}
You can’t perform that action at this time.
0 commit comments