sasl_gssapi: Enable USE_KERBEROS5 for GSS-API based builds
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "curl_setup.h"
|
#include "curl_setup.h"
|
||||||
|
|
||||||
#if defined(HAVE_GSSAPI) && defined(USE_KRB5)
|
#if defined(HAVE_GSSAPI) && defined(USE_KERBEROS5)
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
@@ -116,4 +116,4 @@ void Curl_sasl_gssapi_cleanup(struct kerberos5data *krb5)
|
|||||||
(void) krb5;
|
(void) krb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_GSSAPI && USE_KRB5 */
|
#endif /* HAVE_GSSAPI && USE_KERBEROS5 */
|
||||||
|
@@ -615,7 +615,8 @@ int netware_init(void);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Single point where USE_KERBEROS5 definition might be defined */
|
/* 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
|
#define USE_KERBEROS5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -265,7 +265,6 @@ static curl_version_info_data version_info = {
|
|||||||
| CURL_VERSION_KERBEROS5
|
| CURL_VERSION_KERBEROS5
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_GSSAPI
|
#ifdef HAVE_GSSAPI
|
||||||
| CURL_VERSION_KERBEROS5 /* Remove when SASL Kerberos V5 support added */
|
|
||||||
| CURL_VERSION_GSSAPI
|
| CURL_VERSION_GSSAPI
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_WINDOWS_SSPI
|
#ifdef USE_WINDOWS_SSPI
|
||||||
|
Reference in New Issue
Block a user