aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_mac.cpp')
-rw-r--r--src/tests/test_mac.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_mac.cpp b/src/tests/test_mac.cpp
index e191a6ed7..4d3833199 100644
--- a/src/tests/test_mac.cpp
+++ b/src/tests/test_mac.cpp
@@ -6,6 +6,8 @@
#include "tests.h"
+#if defined(BOTAN_HAS_MAC)
+
#include <botan/lookup.h>
#include <botan/mac.h>
#include <botan/hex.h>
@@ -93,3 +95,9 @@ size_t test_mac()
return run_tests_in_dir(TEST_DATA_DIR "mac", test);
}
+
+#else
+
+SKIP_TEST(mac);
+
+#endif // BOTAN_HAS_MAC