aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/dolook2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/dolook2.cpp b/checks/dolook2.cpp
index d245a3498..9dc72cacb 100644
--- a/checks/dolook2.cpp
+++ b/checks/dolook2.cpp
@@ -133,7 +133,7 @@ Filter* lookup_rng(const std::string& algname,
new Fixed_Output_RNG(decode_hex(key)));
#endif
-#if defined(BOTAN_HAS_X931_RNG) and defined(BOTAN_HAS_RANDPOOL)
+#if defined(BOTAN_HAS_X931_RNG) && defined(BOTAN_HAS_RANDPOOL)
// these are used for benchmarking: AES-256/SHA-256 matches library
// defaults, so benchmark reflects real-world performance (maybe)
if(!prng && (algname == "Randpool" || algname == "X9.31-RNG"))