mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:43:32 +03:00
krb5: drop support for Kerberos FTP
It was accidentally broken in commit0f4c439fc7, shipped since 8.8.0 (May 2024) and yet not a single person has noticed or reported, indicating that we might as well drop support for FTP Kerberos. Krb5 support was added in54967d2a3a(July 2007), and we have been carrying the extra license information around since then for this code. This commit removes the last traces of that code and thus we can remove the extra copyright notices along with it. Reported-by: Joshua Rogers Closes #18577
This commit is contained in:
parent
bb46d42407
commit
5ab120bc4e
22 changed files with 43 additions and 1200 deletions
11
lib/url.c
11
lib/url.c
|
|
@ -98,7 +98,6 @@
|
|||
#include "hsts.h"
|
||||
#include "noproxy.h"
|
||||
#include "cfilters.h"
|
||||
#include "curl_krb5.h"
|
||||
#include "idn.h"
|
||||
|
||||
/* And now for the protocols */
|
||||
|
|
@ -606,7 +605,6 @@ void Curl_conn_free(struct Curl_easy *data, struct connectdata *conn)
|
|||
Curl_safefree(conn->http_proxy.host.rawalloc); /* http proxy name buffer */
|
||||
Curl_safefree(conn->socks_proxy.host.rawalloc); /* socks proxy name buffer */
|
||||
#endif
|
||||
Curl_sec_conn_destroy(conn);
|
||||
Curl_safefree(conn->user);
|
||||
Curl_safefree(conn->passwd);
|
||||
Curl_safefree(conn->sasl_authzid);
|
||||
|
|
@ -1455,10 +1453,6 @@ static struct connectdata *allocate_conn(struct Curl_easy *data)
|
|||
/* Initialize the attached xfers bitset */
|
||||
Curl_uint_spbset_init(&conn->xfers_attached);
|
||||
|
||||
#ifdef HAVE_GSSAPI
|
||||
conn->data_prot = PROT_CLEAR;
|
||||
#endif
|
||||
|
||||
/* Store the local bind parameters that will be used for this connection */
|
||||
if(data->set.str[STRING_DEVICE]) {
|
||||
conn->localdev = strdup(data->set.str[STRING_DEVICE]);
|
||||
|
|
@ -3473,10 +3467,7 @@ static CURLcode create_conn(struct Curl_easy *data,
|
|||
|
||||
/* Do the unfailable inits first, before checks that may early return */
|
||||
Curl_hash_init(&conn->meta_hash, 23,
|
||||
Curl_hash_str, curlx_str_key_compare, conn_meta_freeentry);
|
||||
|
||||
/* GSSAPI related inits */
|
||||
Curl_sec_conn_init(conn);
|
||||
Curl_hash_str, curlx_str_key_compare, conn_meta_freeentry);
|
||||
|
||||
result = parseurlandfillconn(data, conn);
|
||||
if(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue