summaryrefslogtreecommitdiff
path: root/lib/vauth/vauth.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-13 18:51:46 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-26 17:21:22 +0000
commit6d6f9ca1d978817af2f2780dafcceba281256e11 (patch)
tree0a896330689e964a719d1e1f8bc311422de66da5 /lib/vauth/vauth.h
parentad5e9bfd5d08b5a1c5217b3eb709dc90505abaab (diff)
downloadgnurl-6d6f9ca1d978817af2f2780dafcceba281256e11.tar.gz
gnurl-6d6f9ca1d978817af2f2780dafcceba281256e11.tar.bz2
gnurl-6d6f9ca1d978817af2f2780dafcceba281256e11.zip
vauth: Moved the Negotiate authentication code to the new vauth directory
Part 2 of 2 - Moved the GSS-API based Negotiate authentication code.
Diffstat (limited to 'lib/vauth/vauth.h')
-rw-r--r--lib/vauth/vauth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h
index 8a0c67765..161cb14b7 100644
--- a/lib/vauth/vauth.h
+++ b/lib/vauth/vauth.h
@@ -38,7 +38,7 @@ struct ntlmdata;
struct kerberos5data;
#endif
-#if defined(USE_WINDOWS_SSPI) && defined(USE_SPNEGO)
+#if (defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)) && defined(USE_SPNEGO)
struct negotiatedata;
#endif
@@ -165,7 +165,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct SessionHandle *data,
void Curl_auth_gssapi_cleanup(struct kerberos5data *krb5);
#endif /* USE_KERBEROS5 */
-#if defined(USE_WINDOWS_SSPI) && defined(USE_SPNEGO)
+#if (defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)) && defined(USE_SPNEGO)
/* This is used to decode a base64 encoded SPNEGO (Negotiate) challenge
message */
CURLcode Curl_auth_decode_spnego_message(struct SessionHandle *data,
@@ -185,6 +185,6 @@ CURLcode Curl_auth_create_spnego_message(struct SessionHandle *data,
/* This is used to clean up the SPNEGO specifiec data */
void Curl_auth_spnego_cleanup(struct negotiatedata* nego);
-#endif /* USE_WINDOWS_SSPI && USE_SPNEGO */
+#endif /* (HAVE_GSSAPI || USE_WINDOWS_SSPI) && USE_SPNEGO */
#endif /* HEADER_CURL_VAUTH_H */