diff options
author | Michal Marek <mmarek@suse.cz> | 2008-04-07 09:26:30 +0000 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2008-04-07 09:26:30 +0000 |
commit | d0a4b50e198ffdeb80c68d8ac497f50a5b5798c8 (patch) | |
tree | ca4214e2221ade9e9c127e0cb5c0b77ef6cffce6 /lib/krb5.c | |
parent | ebaf06a74132dc52fa37bb1b05799998c15827c4 (diff) | |
download | curl-d0a4b50e198ffdeb80c68d8ac497f50a5b5798c8.tar.gz |
- Fix the MIT / Heimdal check for good:
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> 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.
Diffstat (limited to 'lib/krb5.c')
-rw-r--r-- | lib/krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |