]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_krb5: only use functions if FTP is still enabled
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Apr 2025 06:49:20 +0000 (08:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Apr 2025 08:52:47 +0000 (10:52 +0200)
Reported-by: x1sc0 on github
Fixes #16925
Closes #16931

lib/curl_krb5.h

index b9caf7f24356f45154c84957a75437d75b8251f8..574340fd3c580e202babb41509b9200d483f758e 100644 (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 *,