summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/http_ntlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/http_ntlm.c')
-rw-r--r--libs/libcurl/src/http_ntlm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libcurl/src/http_ntlm.c b/libs/libcurl/src/http_ntlm.c
index 03788062ff..0dee7594c2 100644
--- a/libs/libcurl/src/http_ntlm.c
+++ b/libs/libcurl/src/http_ntlm.c
@@ -252,6 +252,12 @@ CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy)
break;
case NTLMSTATE_LAST:
+ /* since this is a little artificial in that this is used without any
+ outgoing auth headers being set, we need to set the bit by force */
+ if(proxy)
+ data->info.proxyauthpicked = CURLAUTH_NTLM;
+ else
+ data->info.httpauthpicked = CURLAUTH_NTLM;
Curl_safefree(*allocuserpwd);
authp->done = TRUE;
break;