aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_ntlm.c2
1 files changed, 2 insertions, 0 deletions
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 */