From f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 26 Jun 2015 20:20:32 +0200 Subject: Make Botan compile when only some modules are enabled Fixes #146. --- src/tests/test_pbkdf.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tests/test_pbkdf.cpp') diff --git a/src/tests/test_pbkdf.cpp b/src/tests/test_pbkdf.cpp index 703a7bc80..c60cf9d78 100644 --- a/src/tests/test_pbkdf.cpp +++ b/src/tests/test_pbkdf.cpp @@ -6,6 +6,8 @@ #include "tests.h" +#if defined(BOTAN_HAS_PBKDF) + #include #include #include @@ -37,3 +39,9 @@ size_t test_pbkdf() return run_tests_in_dir(TEST_DATA_DIR "pbkdf", test); } + +#else + +SKIP_TEST(pbkdf); + +#endif // BOTAN_HAS_PBKDF -- cgit v1.2.3