diff options
Diffstat (limited to 'src/exhaustive/exhaustive.c')
| -rw-r--r-- | src/exhaustive/exhaustive.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/exhaustive/exhaustive.c b/src/exhaustive/exhaustive.c index 30d2c47..5011490 100644 --- a/src/exhaustive/exhaustive.c +++ b/src/exhaustive/exhaustive.c @@ -271,24 +271,22 @@ int exhaustive_gen_retry(curve_t *curve, const config_t *cfg, } } - if (cfg->verbose) { - if (diff < 0) { - fprintf(verbose, "-"); - } else { - fprintf(verbose, "."); - } + if (diff < 0) { + verbose_log("-"); + } else { + verbose_log("."); } // unroll stack avma = stack_tops[new_state]; } else { // we are going forward, reset tries gen_tries[state] = 0; - if (cfg->verbose) fprintf(verbose, "+"); + verbose_log("+"); } state = new_state; } - if (cfg->verbose) fprintf(verbose, "\n"); + verbose_log("\n"); return 1; } |
