summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-16 16:13:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-16 16:13:03 +0200
commit32c27f9e98e3b6195b0e465df853a98a4702fb01 (patch)
tree8e0f9528f8664f8611d10fb994ed59b511ede9cb
parent4fcc0b09fb000e72ad5b3f4c3473d87026470d09 (diff)
downloadcurl-32c27f9e98e3b6195b0e465df853a98a4702fb01.tar.gz
curl_sasl: fix build error with CURL_DISABLE_CRYPTO_AUTH + USE_NTLM
Reported-by: wyattoday at github Fixes #1487
-rw-r--r--lib/curl_sasl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index b3789dab0..025b5dbe3 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2012 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2012 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -414,8 +414,8 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,
const char * const hostname = SSL_IS_PROXY() ? conn->http_proxy.host.name :
conn->host.name;
const long int port = SSL_IS_PROXY() ? conn->port : conn->remote_port;
-#if !defined(CURL_DISABLE_CRYPTO_AUTH)
char *serverdata;
+#if !defined(CURL_DISABLE_CRYPTO_AUTH)
char *chlg = NULL;
size_t chlglen = 0;
#endif