diff options
author | lloyd <[email protected]> | 2009-09-04 13:52:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-04 13:52:10 +0000 |
commit | f4b3c6307762507f652c37f10dc8e155c48d3e65 (patch) | |
tree | 89b7374dff3cf89ee77c578748f1b9af0c5f6640 | |
parent | 5b1b378f77ece0ed9dd726dc1083cbbd1ccbe937 (diff) |
Wrap benchmark_rw call in BOTAN_HAS_RW macro check
-rw-r--r-- | checks/pk_bench.cpp | 2 |
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 } |