From d0a4b50e198ffdeb80c68d8ac497f50a5b5798c8 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Mon, 7 Apr 2008 09:26:30 +0000 Subject: - Fix the MIT / Heimdal check for good: Define HAVE_GSSMIT if are available, otherwise define HAVE_GSSHEIMDAL if is available. Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should avoid breakage in case we wrongly recognize Heimdal as MIT again. --- lib/krb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/krb5.c') diff --git a/lib/krb5.c b/lib/krb5.c index b2c04a9cb..2c284078e 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -36,7 +36,7 @@ #ifndef CURL_DISABLE_FTP #ifdef HAVE_GSSAPI -#ifdef HAVE_GSSMIT +#ifdef HAVE_OLD_GSSMIT #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name #endif -- cgit v1.2.3