]> git.ipfire.org Git - thirdparty/curl.git/commit
TLS: check connection for SSL use, not handler
authorStefan Eissing <stefan@eissing.org>
Fri, 17 Jan 2025 10:57:00 +0000 (11:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Jan 2025 13:04:20 +0000 (14:04 +0100)
commit25b445e4796bcbf9f842de686a8c384b30f6c2a2
treea1bbeff5481deb9eedca7d556ed634681dbddea6
parentef3d7877d563bbc73e2cc0ccdbdea2b32960057b
TLS: check connection for SSL use, not handler

Protocol handler option PROTOPT_SSL is used to setup a connection
filters. Once that is done, used `Curl_conn_is_ssl()` to check if
a connection uses SSL.

There may be other reasons to add SSL to a connection, e.g. starttls.

Closes #16034
lib/cf-socket.c
lib/ftp.c
lib/http.c
lib/http_negotiate.c
lib/imap.c
lib/ldap.c
lib/openldap.c
lib/pop3.c
lib/smb.c
lib/smtp.c
lib/url.c