aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-09-29 22:36:34 -0400
committerJack Lloyd <[email protected]>2015-09-29 22:36:34 -0400
commit84f656286f89ed9dccca4a8f3db53bfec755e5e9 (patch)
treee5e1db5e81bce5744923898b2df07ac2f6ae4b3f /src/tests
parent2a6f5f10cc9713230bdd6204c57219451584f4a4 (diff)
Fix for minimized build
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_mce.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_mce.cpp b/src/tests/test_mce.cpp
index cd85cdab1..dbe5cc046 100644
--- a/src/tests/test_mce.cpp
+++ b/src/tests/test_mce.cpp
@@ -6,6 +6,8 @@
#include "tests.h"
+#if defined(BOTAN_HAS_MCELIECE)
+
#include <botan/mceliece.h>
#include <botan/mce_kem.h>
#include <botan/hmac_drbg.h>
@@ -94,3 +96,9 @@ size_t test_mce()
m["SharedKey"]);
});
}
+
+#else
+
+SKIP_TEST(mce);
+
+#endif