summaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-03 07:13:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-03 13:16:17 +0000
commit884df3a51f2f9ff3d4aebbe86d3971d9202d3f11 (patch)
treed32b1a4aaa344b96cfa2a23d405c5003a14f521c /lib/curl_setup.h
parent86b889485d739fb1884d5beb3b1f359e36d0d072 (diff)
downloadcurl-884df3a51f2f9ff3d4aebbe86d3971d9202d3f11.tar.gz
sasl_gssapi: Enable USE_KERBEROS5 for GSS-API based builds
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index e916226c7..a82855989 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -615,7 +615,8 @@ int netware_init(void);
#endif
/* Single point where USE_KERBEROS5 definition might be defined */
-#if !defined(CURL_DISABLE_CRYPTO_AUTH) && defined(USE_WINDOWS_SSPI)
+#if !defined(CURL_DISABLE_CRYPTO_AUTH) && \
+ (defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI))
#define USE_KERBEROS5
#endif