NTLM_WB: fix disabling of NTLM_WB when NTLM is disabled

This commit is contained in:
Yang Tse
2011-09-22 00:24:02 +02:00
parent e9cf4cb791
commit 01c172f5e8
4 changed files with 13 additions and 13 deletions

View File

@@ -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);