| Index: net/http/http_auth_handler_ntlm.cc
|
| ===================================================================
|
| --- net/http/http_auth_handler_ntlm.cc (revision 57913)
|
| +++ net/http/http_auth_handler_ntlm.cc (working copy)
|
| @@ -26,6 +26,11 @@
|
| CreateSPN(origin_),
|
| auth_token);
|
| #else // !defined(NTLM_SSPI)
|
| + // TODO(cbentzel): Shouldn't be hitting this case.
|
| + if (!username || !password) {
|
| + LOG(ERROR) << "Username and password are expected to be non-NULL.";
|
| + return ERR_MISSING_AUTH_CREDENTIALS;
|
| + }
|
| // TODO(wtc): See if we can use char* instead of void* for in_buf and
|
| // out_buf. This change will need to propagate to GetNextToken,
|
| // GenerateType1Msg, and GenerateType3Msg, and perhaps further.
|
|
|