aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_aead.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_aead.cpp')
-rw-r--r--src/tests/test_aead.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp
index e9f002e19..603fdc1b0 100644
--- a/src/tests/test_aead.cpp
+++ b/src/tests/test_aead.cpp
@@ -6,6 +6,8 @@
#include "tests.h"
+#if defined(BOTAN_HAS_AEAD_MODES)
+
#include <botan/hex.h>
#include <botan/aead.h>
#include <iostream>
@@ -143,3 +145,9 @@ size_t test_aead()
return run_tests_in_dir(TEST_DATA_DIR "aead", test);
}
+
+#else
+
+SKIP_TEST(aead);
+
+#endif // BOTAN_HAS_AEAD_MODES