aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecdsa.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-08 16:01:49 +0000
committerlloyd <[email protected]>2014-02-08 16:01:49 +0000
commit93c361028df3e33b9f6195f7d4b9ffcf47a7fa2c (patch)
tree3fdc838b34dc937ef280899f89aa10a47e005f30 /src/tests/test_ecdsa.cpp
parent7def8d303e3cf0f1a27ee8ebcb8ae5137261a361 (diff)
Fix minimized builds. Patch by Markus Wanner sent to botan-devel
Diffstat (limited to 'src/tests/test_ecdsa.cpp')
-rw-r--r--src/tests/test_ecdsa.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_ecdsa.cpp b/src/tests/test_ecdsa.cpp
index 32747c7b0..5741580a4 100644
--- a/src/tests/test_ecdsa.cpp
+++ b/src/tests/test_ecdsa.cpp
@@ -1,6 +1,7 @@
#include "tests.h"
#include "test_pubkey.h"
+#if defined(BOTAN_HAS_ECDSA)
#include <botan/auto_rng.h>
#include <botan/pubkey.h>
#include <botan/ecdsa.h>
@@ -50,3 +51,8 @@ size_t test_ecdsa()
return fails;
}
+#else
+
+size_t test_ecdsa() { return 0; }
+
+#endif