aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-04 12:10:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-04 22:31:19 +0200
commite66cca046cef20d00fba89260dfa6b4a3997233d (patch)
tree7bc1d35fa61b022ea481a7e891bcfa5c78b2fe48 /lib/url.c
parentf8d608f38d00a129680f5535ed2f1e60fc226d30 (diff)
vtls: use unified "supports" bitfield member in backends
... instead of previous separate struct fields, to make it easier to extend and change individual backends without having to modify them all. closes #2547
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index eb1fc2220..38f08b3c6 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2740,7 +2740,7 @@ static CURLcode parse_proxy(struct Curl_easy *data,
proxyptr = proxy; /* No xxx:// head: It's a HTTP proxy */
#ifdef USE_SSL
- if(!Curl_ssl->support_https_proxy)
+ if(!(Curl_ssl->supports & SSLSUPP_HTTPS_PROXY))
#endif
if(proxytype == CURLPROXY_HTTPS) {
failf(data, "Unsupported proxy \'%s\', libcurl is built without the "