aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_block.cpp')
-rw-r--r--src/tests/test_block.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/test_block.cpp b/src/tests/test_block.cpp
index 02115b66a..a274b260b 100644
--- a/src/tests/test_block.cpp
+++ b/src/tests/test_block.cpp
@@ -5,6 +5,9 @@
*/
#include "tests.h"
+
+#if defined(BOTAN_HAS_BLOCK_CIPHER)
+
#include <botan/block_cipher.h>
namespace Botan_Tests {
@@ -144,3 +147,5 @@ class Block_Cipher_Tests final : public Text_Based_Test
BOTAN_REGISTER_TEST("block", Block_Cipher_Tests);
}
+
+#endif