aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-07 20:58:06 +0000
committerlloyd <[email protected]>2008-09-07 20:58:06 +0000
commit52d0105eb572629a126ec2c1c8ee4e5b652aa11b (patch)
tree610fcaa18d3be3034f5a28ff3bede79f1e2aeaab /checks
parent8b012a20bd30b22047768c757f7eaffbca7788dc (diff)
Disable extensive testing during benchmark key generation: throws off profiler
Diffstat (limited to 'checks')
-rw-r--r--checks/pk_bench.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index 78c89a74f..bf13bcb29 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -9,6 +9,7 @@
#include <botan/pkcs8.h>
#include <botan/mem_ops.h>
#include <botan/look_pk.h>
+#include <botan/libstate.h>
using namespace Botan;
@@ -310,6 +311,8 @@ void bench_pk(RandomNumberGenerator& rng,
there is no way to encode a RW key into a PKCS #8 structure).
*/
+ global_state().set_option("pk/test/private_gen", "basic");
+
Benchmark_Report report;
if(algo == "All" || algo == "RSA")