diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index cc04cef51847fb1d5d12caa4f47fd107ceb8372c..679289db67168d8c2b7acba784421af8cf09fbe6 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -330,10 +330,12 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, { const char *domain=""; /* empty */ const char *host=""; /* empty */ +#ifndef USE_WINDOWS_SSPI int domlen=(int)strlen(domain); int hostlen = (int)strlen(host); int hostoff; /* host name offset */ int domoff; /* domain name offset */ +#endif size_t size; char *base64=NULL; unsigned char ntlmbuf[256]; /* enough, unless the host/domain is very long */