mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:47:15 +03:00
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
This commit is contained in:
parent
2aac895fb6
commit
c8204ed6a2
2 changed files with 9 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue