1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
curl/lib/vtls
Jacob Hoffman-Andrews 43a56e34e1
rustls: support CURLOPT_SSL_VERIFYPEER
This requires the latest main branch of crustls, which provides
rustls_client_config_builder_dangerous_set_certificate_verifier and
rustls_client_config_builder_set_enable_sni.

This refactors the session setup into its own function, and adds a new
function cr_hostname_is_ip. Because crustls doesn't support verification
of IP addresses, special handling is needed: We disable SNI and set a
placeholder hostname (which never actually gets sent on the wire).

Closes #6719
2021-03-12 13:15:00 +01: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: adapt to v3's new const for a few API calls 2021-03-09 08:15:36 +01:00
openssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
rustls.c rustls: support CURLOPT_SSL_VERIFYPEER 2021-03-12 13:15:00 +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