aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-22 00:24:02 +0200
committerYang Tse <yangsita@gmail.com>2011-09-22 00:24:02 +0200
commit01c172f5e8c78b781397003e22fc462a503d2c24 (patch)
tree7c033995d5c98d16f1ad9b4f8861288deccf30bc /lib/http.c
parente9cf4cb79182de38d240e54954f0b2805aeec177 (diff)
NTLM_WB: fix disabling of NTLM_WB when NTLM is disabled
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 9f7a5a516..8c9848a9d 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -546,7 +546,7 @@ output_auth_headers(struct connectdata *conn,
}
else
#endif
-#ifdef NTLM_WB_ENABLED
+#if defined(USE_NTLM) && defined(NTLM_WB_ENABLED)
if(authstatus->picked == CURLAUTH_NTLM_WB) {
auth="NTLM_WB";
result = Curl_output_ntlm_wb(conn, proxy);