aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}