diff options
Diffstat (limited to 'src/tests/test_ecdsa.cpp')
-rw-r--r-- | src/tests/test_ecdsa.cpp | 6 |
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 |