aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-26 12:23:44 -0400
committerJack Lloyd <[email protected]>2018-09-26 12:23:44 -0400
commita3592b222cea3fe675b8180b06f79ea1973e83fb (patch)
treed405b8485b83e42c8fcbb8818d0860a231b03517
parent3d5b7cde959a0c3510813f72471839d5f7b7fcbd (diff)
parent03451d837d37416a7ef013c9c028f76a8ea0fed6 (diff)
Merge GH #1692 Fix test failure when http_util disabled
-rw-r--r--src/tests/test_x509_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_x509_path.cpp b/src/tests/test_x509_path.cpp
index 22d6f1407..90dd7e675 100644
--- a/src/tests/test_x509_path.cpp
+++ b/src/tests/test_x509_path.cpp
@@ -146,7 +146,7 @@ class X509test_Path_Validation_Tests final : public Test
// certificate verification succeed even if no OCSP URL (softfail)
result.confirm("test success", path_result.successful_validation());
result.test_eq("test " + filename, path_result.result_string(), "Verified");
-#if defined(BOTAN_TARGET_OS_HAS_THREADS)
+#if defined(BOTAN_TARGET_OS_HAS_THREADS) && defined(BOTAN_HAS_HTTP_UTIL)
// if softfail, there is warnings
result.confirm("test warnings", !path_result.no_warnings());
result.test_eq("test warnings string", path_result.warnings_string(), "[0] OCSP URL not available");