diff options
author | MAntoniak <47522782+MAntoniak@users.noreply.github.com> | 2021-09-06 16:36:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-12-15 08:01:21 +0100 |
commit | 39406280bbd66234ad2bdec072f5e183efac23d8 (patch) | |
tree | 6de709007a46a946b62c8f65d951da4af7a06db8 /lib/urldata.h | |
parent | 867ad1cd8bd6cfce3e9c76e802e9e343913e2594 (diff) | |
download | curl-39406280bbd66234ad2bdec072f5e183efac23d8.tar.gz |
misc: remove unused doh flags when CURL_DISABLE_DOH is defined
Closes #8148
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 22c66cd44..cc9c88870 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -518,7 +518,9 @@ struct ConnectBits { BIT(tls_enable_npn); /* TLS NPN extension? */ BIT(tls_enable_alpn); /* TLS ALPN extension? */ BIT(connect_only); +#ifndef CURL_DISABLE_DOH BIT(doh); +#endif #ifdef USE_UNIX_SOCKETS BIT(abstract_unix_socket); #endif @@ -1858,10 +1860,12 @@ struct UserDefined { header */ BIT(abstract_unix_socket); BIT(disallow_username_in_url); /* disallow username in url */ +#ifndef CURL_DISABLE_DOH BIT(doh); /* DNS-over-HTTPS enabled */ BIT(doh_verifypeer); /* DoH certificate peer verification */ BIT(doh_verifyhost); /* DoH certificate hostname verification */ BIT(doh_verifystatus); /* DoH certificate status verification */ +#endif BIT(http09_allowed); /* allow HTTP/0.9 responses */ BIT(mail_rcpt_allowfails); /* allow RCPT TO command to fail for some recipients */ |