1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib/vtls
Jay Satiro 7a33c4dff9 schannel: Evaluate CURLOPT_SSL_OPTIONS via SSL_SET_OPTION macro
- Change use of those options from CURLOPT_SSL_OPTIONS that are not
  already evaluated via SSL_SET_OPTION in schannel and secure transport
  to use that instead of data->set.ssl.optname.

Example:

Evaluate SSL_SET_OPTION(no_revoke) instead of data->set.ssl.no_revoke.

This change is because options set via CURLOPT_SSL_OPTIONS
(data->set.ssl.optname) are separate from those set for HTTPS proxy via
CURLOPT_PROXY_SSL_OPTIONS (data->set.proxy_ssl.optname). The
SSL_SET_OPTION macro determines whether the connection is for HTTPS
proxy and based on that which option to evaluate.

Since neither Schannel nor Secure Transport backends currently support
HTTPS proxy in libcurl, this change is for posterity and has no other
effect.

Closes https://github.com/curl/curl/pull/6690
2021-03-06 02:01:35 -05:00
..
bearssl.c urldata: don't touch data->set.httpversion at run-time 2021-02-12 08:13:37 +01:00
bearssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gskit.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
gskit.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gtls.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
gtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
keylog.c curl.se: new home 2020-11-04 23:59:47 +01:00
keylog.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.c curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
mbedtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
mesalink.c vtls: factor out Curl_ssl_getsock to field of Curl_ssl 2021-02-08 14:10:55 +01:00
mesalink.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
nss.c urldata: don't touch data->set.httpversion at run-time 2021-02-12 08:13:37 +01:00
nssg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
openssl.c openssl: remove get_ssl_version_txt in favor of SSL_get_version 2021-02-26 04:15:04 +01:00
openssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
rustls.c lib: remove 'conn->data' completely 2021-02-16 10:48:57 +01:00
rustls.h vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
schannel_verify.c schannel: Evaluate CURLOPT_SSL_OPTIONS via SSL_SET_OPTION macro 2021-03-06 02:01:35 -05:00
schannel.c schannel: Evaluate CURLOPT_SSL_OPTIONS via SSL_SET_OPTION macro 2021-03-06 02:01:35 -05:00
schannel.h vtls: reduce conn->data use 2021-01-19 09:14:40 +01:00
sectransp.c schannel: Evaluate CURLOPT_SSL_OPTIONS via SSL_SET_OPTION macro 2021-03-06 02:01:35 -05:00
sectransp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
vtls.c vtls: initial implementation of rustls backend 2021-02-09 11:06:18 +01:00
vtls.h urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
wolfssl.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
wolfssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00