diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2024-10-23 00:45:51 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2024-10-23 16:16:35 -0400 |
| commit | 6545b26eebeccd08a13ec449bd4e665f6ae090d6 (patch) | |
| tree | 044cb59da101793e4d6682d68e8588058737dce9 /imap-send.c | |
| parent | git-curl-compat: remove check for curl 7.25.0 (diff) | |
| download | git-6545b26eebeccd08a13ec449bd4e665f6ae090d6.tar.gz git-6545b26eebeccd08a13ec449bd4e665f6ae090d6.zip | |
git-curl-compat: remove check for curl 7.34.0
libcurl 7.34.0 was released in December 2013, which is well over ten
years ago, and no major operating system vendor is still providing
security support for it. Debian 8 and Ubuntu 14.04, both of which are
out of mainstream security support, have supported a newer version, and
RHEL 8, which is still in support, also has a newer version.
Remove the check for this version and use this functionality
unconditionally.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'imap-send.c')
| -rw-r--r-- | imap-send.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/imap-send.c b/imap-send.c index ec68a06687..954cc9be65 100644 --- a/imap-send.c +++ b/imap-send.c @@ -1417,15 +1417,11 @@ static CURL *setup_curl(struct imap_server_conf *srvc, struct credential *cred) curl_easy_setopt(curl, CURLOPT_PORT, srvc->port); if (srvc->auth_method) { -#ifndef GIT_CURL_HAVE_CURLOPT_LOGIN_OPTIONS - warning("No LOGIN_OPTIONS support in this cURL version"); -#else struct strbuf auth = STRBUF_INIT; strbuf_addstr(&auth, "AUTH="); strbuf_addstr(&auth, srvc->auth_method); curl_easy_setopt(curl, CURLOPT_LOGIN_OPTIONS, auth.buf); strbuf_release(&auth); -#endif } if (!srvc->use_ssl) |
