We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9764a50 commit 4dd6d43Copy full SHA for 4dd6d43
test/test_easy.lua
@@ -1027,6 +1027,8 @@ end
1027
1028
local _ENV = TEST_CASE'unset_callback_ctx' if ENABLE then
1029
1030
+local HSTS = curl.version_info().features.HSTS
1031
+
1032
local c
1033
1034
function setup()
@@ -1082,7 +1084,7 @@ function test_fnmatch() test_cb('fnmatch_function') end
1082
1084
function test_chunk_bgn() test_cb('chunk_bgn_function') end
1083
1085
function test_chunk_end() test_cb('chunk_end_function') end
1086
-if curl.OPT_HSTSREADFUNCTION then
1087
+if curl.OPT_HSTSREADFUNCTION and HSTS then
1088
function test_hstsreadfunction() test_cb('hstsreadfunction') end
1089
function test_hstswritefunction() test_cb('hstswritefunction') end
1090
end
0 commit comments