diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-09-04 13:31:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-09-04 13:31:49 +0000 |
commit | df760a0a4b393cef3265d7d30c67a001de152764 (patch) | |
tree | 3f2d28bbe05cddba1b6e0a25e4027e0b9d81864e /lib | |
parent | f2057eb7441d2b07841fc23bf8682ad991268fcb (diff) |
no user or password set, bail out
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_ntlm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index bb17f371b..763cb96cb 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -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: |