diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-30 15:31:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-30 22:43:43 +0200 |
commit | c8204ed6a2fa21a746ad019e1a3efbcbd650f8b2 (patch) | |
tree | c1bb7ce79b42b2ec2ef4bb7b5136cf82d8512f81 /lib/version.c | |
parent | 2aac895fb6a7b19dada73f55041b710670befa49 (diff) | |
download | curl-c8204ed6a2fa21a746ad019e1a3efbcbd650f8b2.tar.gz |
configure: don't say HTTPS-proxy is enabled when disabled!
Reported-by: Kamil Dudka
Reviewed-by: Kamil Dudka
Bug: https://github.com/curl/curl/pull/5735#issuecomment-701376388
Closes #6029
Diffstat (limited to 'lib/version.c')
-rw-r--r-- | lib/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/version.c b/lib/version.c index 1214efa58..bdeba8835 100644 --- a/lib/version.c +++ b/lib/version.c @@ -470,11 +470,13 @@ curl_version_info_data *curl_version_info(CURLversion stamp) #ifdef USE_SSL Curl_ssl_version(ssl_buffer, sizeof(ssl_buffer)); version_info.ssl_version = ssl_buffer; +#ifndef CURL_DISABLE_PROXY if(Curl_ssl->supports & SSLSUPP_HTTPS_PROXY) version_info.features |= CURL_VERSION_HTTPS_PROXY; else version_info.features &= ~CURL_VERSION_HTTPS_PROXY; #endif +#endif #ifdef HAVE_LIBZ version_info.libz_version = zlibVersion(); |