aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-06 10:51:33 +0200
committerSimon Warta <[email protected]>2015-07-06 10:51:33 +0200
commit4a9caeb7eaf1e0e9c865d9d8fced7194c45ffd0c (patch)
treeb11f5b5dbb5ab5c4e4b215ebb0b995d3ac19e657 /src/tests
parent7ac482289bf2169c6caf47ffb911ba4f6a686a51 (diff)
ECC pointmul test requires ECDSA
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_ecc_pointmul.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_ecc_pointmul.cpp b/src/tests/test_ecc_pointmul.cpp
index 220a3eecf..585bd7da7 100644
--- a/src/tests/test_ecc_pointmul.cpp
+++ b/src/tests/test_ecc_pointmul.cpp
@@ -8,6 +8,8 @@
#if defined(BOTAN_HAS_ECC_GROUP)
+#if defined(BOTAN_HAS_ECDSA)
+
#include "test_pubkey.h"
#include <botan/pubkey.h>
@@ -70,6 +72,12 @@ size_t test_ecc_pointmul()
#else
+UNTESTED_WARNING(ecc_pointmul);
+
+#endif // BOTAN_HAS_ECDSA
+
+#else
+
SKIP_TEST(ecc_pointmul);
#endif // BOTAN_HAS_ECC_GROUP