diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index cc04cef51..679289db6 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 */