mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
vtls: move the SUPPORT_HTTPS_PROXY flag into the Curl_ssl struct
That will allow us to choose the SSL backend at runtime. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
937899a3b8
commit
f0b4db1ab0
18 changed files with 27 additions and 25 deletions
|
|
@ -323,9 +323,6 @@ static curl_version_info_data version_info = {
|
|||
#endif
|
||||
#if defined(USE_LIBPSL)
|
||||
| CURL_VERSION_PSL
|
||||
#endif
|
||||
#if defined(HTTPS_PROXY_SUPPORT)
|
||||
| CURL_VERSION_HTTPS_PROXY
|
||||
#endif
|
||||
,
|
||||
NULL, /* ssl_version */
|
||||
|
|
@ -355,6 +352,10 @@ 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;
|
||||
if(Curl_ssl->support_https_proxy)
|
||||
version_info.features |= CURL_VERSION_HTTPS_PROXY;
|
||||
else
|
||||
version_info.features &= ~CURL_VERSION_HTTPS_PROXY;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue