aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-14 10:05:57 -0400
committerJack Lloyd <[email protected]>2018-04-14 10:05:57 -0400
commit92605ef479e6b12a095a5451d20bcbcc72007c09 (patch)
treef2a8541c0dd4a15c5681316954b0fdb69f604aaa /src/lib/pubkey/xmss
parent7b466251c4260a0c822baeaa2857d54f8d0dbb1e (diff)
Add an explicit test mode build
GH #1537
Diffstat (limited to 'src/lib/pubkey/xmss')
-rw-r--r--src/lib/pubkey/xmss/xmss_tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/xmss/xmss_tools.cpp b/src/lib/pubkey/xmss/xmss_tools.cpp
index b55a977d8..585e14f2e 100644
--- a/src/lib/pubkey/xmss/xmss_tools.cpp
+++ b/src/lib/pubkey/xmss/xmss_tools.cpp
@@ -68,7 +68,7 @@ size_t XMSS_Tools::bench_threads()
if(durations[0].count() < durations[1].count())
{
-#if defined(BOTAN_HAS_COVERAGE)
+#if defined(BOTAN_TEST_MODE)
return 4;
#else
return concurrency[0];
@@ -76,7 +76,7 @@ size_t XMSS_Tools::bench_threads()
}
else
{
-#if defined(BOTAN_HAS_COVERAGE)
+#if defined(BOTAN_TEST_MODE)
return 4;
#else
return concurrency[1];