sasl: Fixed compilation errors from commit 9d89a0387

...when GSS-API or Windows SSPI are not used.
This commit is contained in:
Steve Holme 2016-04-09 05:57:10 +01:00
parent 43116218c0
commit f044cbe6fc
3 changed files with 11 additions and 1 deletions

View file

@ -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