summaryrefslogtreecommitdiff
path: root/lib/ftp.c
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/ftp.c
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/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index c07bafe17..8f0ac2e69 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2742,7 +2742,7 @@ static CURLcode ftp_statemachine(struct Curl_easy *data,
if((ftpcode == 234) || (ftpcode == 334)) {
/* this was BLOCKING, keep it so for now */
bool done;
- if(!Curl_ssl_conn_is_ssl(data, FIRSTSOCKET)) {
+ if(!Curl_conn_is_ssl(data, FIRSTSOCKET)) {
result = Curl_ssl_cfilter_add(data, conn, FIRSTSOCKET);
if(result) {
/* we failed and bail out */