mirror of
https://github.com/curl/curl.git
synced 2026-07-23 13:37:17 +03:00
no user or password set, bail out
This commit is contained in:
parent
f2057eb744
commit
df760a0a4b
1 changed files with 4 additions and 0 deletions
|
|
@ -311,6 +311,10 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
|
|||
passwdp = conn->passwd;
|
||||
ntlm = &conn->ntlm;
|
||||
}
|
||||
|
||||
if(!userp || !passwdp)
|
||||
/* no user, no auth */
|
||||
return CURLE_OK;
|
||||
|
||||
switch(ntlm->state) {
|
||||
case NTLMSTATE_TYPE1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue