summaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.h
diff options
context:
space:
mode:
authorStefan Eissing <stefan@eissing.org>2022-11-25 14:06:43 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-11-28 13:56:23 +0100
commit55807e6c056f27846d70cec70ee6ac3f0e5b3bbe (patch)
tree85ab09a67ed74d35a1c6689ed539bac116f08341 /lib/vtls/vtls.h
parentdbd74baf781e33e95071a729a81c91a972eff0b7 (diff)
downloadcurl-55807e6c056f27846d70cec70ee6ac3f0e5b3bbe.tar.gz
tls: backends use connection filters for IO, enabling HTTPS-proxy
- OpenSSL (and compatible) - BearSSL - gnutls - mbedtls - rustls - schannel - secure-transport - wolfSSL (v5.0.0 and newer) This leaves only the following without HTTPS-proxy support: - gskit - nss - wolfSSL (versions earlier than v5.0.0) Closes #9962
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r--lib/vtls/vtls.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index a3601babd..ca7a96096 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -166,14 +166,6 @@ CURLcode Curl_ssl_cfilter_proxy_add(struct Curl_easy *data,
#endif /* !CURL_DISABLE_PROXY */
/**
- * Return TRUE iff the filter chain `sockindex` at connection `conn`
- * is using/prepared for SSL encryption. This tests the presence of the
- * necessary filters and not their connectedness.
- */
-bool Curl_ssl_conn_is_ssl(struct Curl_easy *data,
- int sockindex);
-
-/**
* Get the SSL configuration that is used on the connection.
* This returns NULL if no SSL is configured.
* Otherwise it returns the config of the first (highest) one that is
@@ -216,8 +208,6 @@ bool Curl_ssl_supports(struct Curl_easy *data, int ssl_option);
void *Curl_ssl_get_internals(struct Curl_easy *data, int sockindex,
CURLINFO info, int n);
-size_t Curl_ssl_get_backend_data_size(struct Curl_easy *data);
-
bool Curl_ssl_use(struct connectdata *conn, int sockindex);
#else /* if not USE_SSL */
@@ -238,9 +228,7 @@ bool Curl_ssl_use(struct connectdata *conn, int sockindex);
#define Curl_ssl_false_start(a) FALSE
#define Curl_ssl_get_internals(a,b,c,d) NULL
#define Curl_ssl_supports(a,b) FALSE
-#define Curl_ssl_get_backend_data_size(a) 0
#define Curl_ssl_use(a,b) FALSE
-#define Curl_ssl_conn_is_ssl(a,b) FALSE
#define Curl_ssl_cfilter_add(a,b,c) CURLE_NOT_BUILT_IN
#define Curl_ssl_cfilter_proxy_add(a,b,c) CURLE_NOT_BUILT_IN
#define Curl_ssl_get_config(a,b) NULL