make no user or no password just mean blank fields, not aborted operation
This commit is contained in:
Родитель
d70550f949
Коммит
d42c6b7e78
|
@ -315,9 +315,12 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
|
||||||
ntlm = &conn->ntlm;
|
ntlm = &conn->ntlm;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!userp || !passwdp)
|
/* not set means empty */
|
||||||
/* no user, no auth */
|
if(!userp)
|
||||||
return CURLE_OK;
|
userp="";
|
||||||
|
|
||||||
|
if(!passwdp)
|
||||||
|
passwdp="";
|
||||||
|
|
||||||
switch(ntlm->state) {
|
switch(ntlm->state) {
|
||||||
case NTLMSTATE_TYPE1:
|
case NTLMSTATE_TYPE1:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче