diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-08 08:30:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-19 08:22:16 +0200 |
commit | d71ff2b9db566b3f4b2eb29441c2df86715d4339 (patch) | |
tree | ddd481d5d61a136b958da6efde6ef4817ed74107 /lib/urldata.h | |
parent | eff614fb0242cb37d33f89e2e74a93cef5203aed (diff) | |
download | curl-d71ff2b9db566b3f4b2eb29441c2df86715d4339.tar.gz |
hsts: enable by default
No longer considered experimental.
Closes #6700
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index fec875652..b7b17e30c 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1664,7 +1664,7 @@ struct UserDefined { curl_conv_callback convtonetwork; /* function to convert from UTF-8 encoding: */ curl_conv_callback convfromutf8; -#ifdef USE_HSTS +#ifndef CURL_DISABLE_HSTS curl_hstsread_callback hsts_read; void *hsts_read_userp; curl_hstswrite_callback hsts_write; @@ -1926,7 +1926,7 @@ struct Curl_easy { NOTE that the 'cookie' field in the UserDefined struct defines if the "engine" is to be used or not. */ -#ifdef USE_HSTS +#ifndef CURL_DISABLE_HSTS struct hsts *hsts; #endif #ifndef CURL_DISABLE_ALTSVC |