aboutsummaryrefslogtreecommitdiffstats
path: root/checks/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/check.cpp')
-rw-r--r--checks/check.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/checks/check.cpp b/checks/check.cpp
index 577e469c5..ac4e75fa3 100644
--- a/checks/check.cpp
+++ b/checks/check.cpp
@@ -59,6 +59,8 @@ int main(int argc, char* argv[])
}
}
+ const bool html = opts.is_set("html");
+
if(opts.is_set("bench-algo"))
{
std::vector<std::string> algs =
@@ -69,12 +71,10 @@ int main(int argc, char* argv[])
const std::string alg = algs[j];
u32bit found = bench_algo(alg, seconds);
if(!found) // maybe it's a PK algorithm
- bench_pk(alg, false, seconds);
+ bench_pk(alg, html, seconds);
}
}
- const bool html = opts.is_set("html");
-
if(opts.is_set("benchmark"))
benchmark("All", html, seconds);
else if(opts.is_set("bench-type"))