curl_krb5: only use functions if FTP is still enabled

Reported-by: x1sc0 on github
Fixes #16925
Closes #16931
This commit is contained in:
Daniel Stenberg 2025-04-03 08:49:20 +02:00
parent daa8693619
commit 5caba3bd97
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -39,7 +39,7 @@ struct Curl_sec_client_mech {
#define AUTH_CONTINUE 1
#define AUTH_ERROR 2
#ifdef HAVE_GSSAPI
#if defined(HAVE_GSSAPI) && !defined(CURL_DISABLE_FTP)
void Curl_sec_conn_init(struct connectdata *);
void Curl_sec_conn_destroy(struct connectdata *);
int Curl_sec_read_msg(struct Curl_easy *data, struct connectdata *conn, char *,