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
gskit.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
gskit.h
gtls.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
gtls.h
keylog.c
keylog.h
mbedtls_threadlock.c
mbedtls_threadlock.h
mbedtls.c urldata: remove the _ORIG suffix from string names 2021-02-19 08:07:19 +01:00
mbedtls.h
mesalink.c
mesalink.h
nss.c urldata: don't touch data->set.httpversion at run-time 2021-02-12 08:13:37 +01:00
nssg.h
openssl.c openssl: remove get_ssl_version_txt in favor of SSL_get_version 2021-02-26 04:15:04 +01:00
openssl.h
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
sectransp.c schannel: Evaluate CURLOPT_SSL_OPTIONS via SSL_SET_OPTION macro 2021-03-06 02:01:35 -05:00
sectransp.h
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