#include "curl_setup.h"
-#if defined(HAVE_GSSAPI) && defined(USE_KRB5)
+#if defined(HAVE_GSSAPI) && defined(USE_KERBEROS5)
#include <curl/curl.h>
(void) krb5;
}
-#endif /* HAVE_GSSAPI && USE_KRB5 */
+#endif /* HAVE_GSSAPI && USE_KERBEROS5 */
#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
| CURL_VERSION_KERBEROS5
#endif
#ifdef HAVE_GSSAPI
- | CURL_VERSION_KERBEROS5 /* Remove when SASL Kerberos V5 support added */
| CURL_VERSION_GSSAPI
#endif
#ifdef USE_WINDOWS_SSPI