aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-11-28 22:04:24 -0500
committerJack Lloyd <[email protected]>2015-11-28 22:04:24 -0500
commit10ca344f7f32dfa7a5faf5d4605522ea41af7ade (patch)
treea5fdf4c610b1883dd06a5b1512b8a416dd9eea2f
parent04e7a6b70da79d2e629ff4157d1a1d2652c907d0 (diff)
Guard these test calls with the same feature macro guarding their definition.
GH #337
-rw-r--r--src/tests/unit_ecdsa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/unit_ecdsa.cpp b/src/tests/unit_ecdsa.cpp
index ed9096083..a079e6b20 100644
--- a/src/tests/unit_ecdsa.cpp
+++ b/src/tests/unit_ecdsa.cpp
@@ -416,9 +416,11 @@ class ECDSA_Unit_Tests : public Test
{
std::vector<Test::Result> results;
results.push_back(test_hash_larger_than_n());
+#if defined(BOTAN_HAS_X509_CERTIFICATES)
results.push_back(test_decode_ecdsa_X509());
results.push_back(test_decode_ver_link_SHA256());
results.push_back(test_decode_ver_link_SHA1());
+#endif
results.push_back(test_sign_then_ver());
results.push_back(test_ec_sign());
results.push_back(test_create_pkcs8());