aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-04 13:52:10 +0000
committerlloyd <[email protected]>2009-09-04 13:52:10 +0000
commitf4b3c6307762507f652c37f10dc8e155c48d3e65 (patch)
tree89b7374dff3cf89ee77c578748f1b9af0c5f6640
parent5b1b378f77ece0ed9dd726dc1083cbbd1ccbe937 (diff)
Wrap benchmark_rw call in BOTAN_HAS_RW macro check
-rw-r--r--checks/pk_bench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index 1b85eddbf..fcc0a0f13 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -675,6 +675,8 @@ void bench_pk(RandomNumberGenerator& rng,
benchmark_dsa_nr<NR_PrivateKey>(rng, seconds, report);
#endif
+#if defined(BOTAN_HAS_RW)
if(algo == "All" || algo == "RW")
benchmark_rw(rng, seconds, report);
+#endif
}