aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-05 11:21:16 -0400
committerJack Lloyd <[email protected]>2018-04-05 11:21:16 -0400
commit0fe2273728ca637ff0d57cd80274bf7c541d1dbd (patch)
treeb9033dfa756688980d68d08a7c271988a65843d5 /src/cli
parente137dcb349a4c2e7fda71ed539361bbdefedebd1 (diff)
Fix bug in CLI, and fix bug in CLI tests
The tests were detecting the problem and failing, but just returned zero in any case so CI did not fail. Also fix some CLI bugs that caused failures if OpenSSL was enabled.
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/timing_tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/timing_tests.cpp b/src/cli/timing_tests.cpp
index f3ecdc034..41f622bd5 100644
--- a/src/cli/timing_tests.cpp
+++ b/src/cli/timing_tests.cpp
@@ -32,7 +32,7 @@
#include <botan/numthry.h>
#endif
-#if defined(BOTAN_HAS_EC_GROUP)
+#if defined(BOTAN_HAS_ECC_GROUP)
#include <botan/ec_group.h>
#endif
@@ -303,7 +303,7 @@ ticks ECDSA_Timing_Test::measure_critical_function(std::vector<uint8_t> input)
#endif
-#if defined(BOTAN_HAS_EC_GROUP)
+#if defined(BOTAN_HAS_ECC_GROUP)
class ECC_Mul_Timing_Test final : public Timing_Test
{
@@ -545,7 +545,7 @@ std::unique_ptr<Timing_Test> Timing_Test_Command::lookup_timing_test(const std::
}
#endif
-#if defined(BOTAN_HAS_EC_GROUP)
+#if defined(BOTAN_HAS_ECC_GROUP)
if(test_type == "ecc_mul")
{
return std::unique_ptr<Timing_Test>(new ECC_Mul_Timing_Test("brainpool512r1"));