aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 20:40:24 +0000
committerlloyd <[email protected]>2008-10-11 20:40:24 +0000
commitdf2c8599b41684e769e036a90f89216aaf7c48d4 (patch)
tree0aece560e621b8c3aaffa0631f85f19823e1842b /checks
parent81f95c6297199841c5d054c289528297b0b1ced3 (diff)
MSVC does not recognize and as equiv to && in a preprocessor statement
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"))