summaryrefslogtreecommitdiff
path: root/tests/unit/unit1660.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1660.c')
-rw-r--r--tests/unit/unit1660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1660.c b/tests/unit/unit1660.c
index cc2451932..43efa24b3 100644
--- a/tests/unit/unit1660.c
+++ b/tests/unit/unit1660.c
@@ -36,7 +36,7 @@ unit_stop(void)
curl_global_cleanup();
}
-#if defined(CURL_DISABLE_HTTP) || !defined(USE_HSTS)
+#if defined(CURL_DISABLE_HTTP) || defined(CURL_DISABLE_HSTS)
UNITTEST_START
{
return 0; /* nothing to do when HTTP or HSTS are disabled */