aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_name_constraint.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-19 07:03:10 -0500
committerJack Lloyd <[email protected]>2018-01-19 07:03:10 -0500
commitba41d6079f99a96dc3380a8ba47693be14aad5c2 (patch)
tree016a8d3d98b8a7f047dadaaddd69f73af8ab6e5c /src/tests/test_name_constraint.cpp
parent2b7000735fcb33abba0134b1eb5388d82a3ba1c4 (diff)
Reorganize code to avoid cli/test build failures if filesystem disabled
Fixes #1422
Diffstat (limited to 'src/tests/test_name_constraint.cpp')
-rw-r--r--src/tests/test_name_constraint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_name_constraint.cpp b/src/tests/test_name_constraint.cpp
index 3d01d84c7..f0abda710 100644
--- a/src/tests/test_name_constraint.cpp
+++ b/src/tests/test_name_constraint.cpp
@@ -17,7 +17,7 @@ namespace Botan_Tests {
namespace {
-#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_EMSA_PKCS1)
+#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_EMSA_PKCS1) && defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
class Name_Constraint_Tests final : public Test
{