aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-04-09 05:57:10 +0100
committerSteve Holme <steve_holme@hotmail.com>2016-04-09 05:57:10 +0100
commitf044cbe6fc9411262a90420e109e23d282a84b62 (patch)
tree87755fb06cecaa57a3df2f48edb5cc3221e0d8df /lib/url.c
parent43116218c07d3cce86359afba6c979cdec24a504 (diff)
sasl: Fixed compilation errors from commit 9d89a0387
...when GSS-API or Windows SSPI are not used.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 3439e292a..f31d027eb 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1498,7 +1498,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
*/
data->set.socks5_gssapi_nec = (0 != va_arg(param, long))?TRUE:FALSE;
break;
+#endif
+#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_KERBEROS5) || \
+ defined(USE_SPNEGO)
case CURLOPT_SERVICE_NAME:
/*
* Set authentication service name for DIGEST-MD5, Kerberos 5 and SPNEGO