diff options
author | Simon Warta <[email protected]> | 2015-06-26 20:20:32 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-03 10:33:45 +0200 |
commit | f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (patch) | |
tree | 8e71c24da6f7f5b037024741105ca392369e590a /src/tests/test_mceliece.cpp | |
parent | cd9037e29f32197b9c37ef7bec955ac2372b543b (diff) |
Make Botan compile when only some modules are enabled
Fixes #146.
Diffstat (limited to 'src/tests/test_mceliece.cpp')
-rw-r--r-- | src/tests/test_mceliece.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_mceliece.cpp b/src/tests/test_mceliece.cpp index 8f1d3b6a3..c0ff1d435 100644 --- a/src/tests/test_mceliece.cpp +++ b/src/tests/test_mceliece.cpp @@ -8,6 +8,8 @@ #include "tests.h" +#if defined(BOTAN_HAS_MCELIECE) + #include <botan/pubkey.h> #include <botan/ecdsa.h> #include <botan/rsa.h> @@ -307,3 +309,9 @@ size_t test_mceliece() test_report("McEliece", tests, fails); return fails; } + +#else + +SKIP_TEST(mceliece); + +#endif // BOTAN_HAS_MCELIECE |