secur32: Use empty credentials when cached creds fail.
This commit is contained in:
parent
a61044b675
commit
e987ec4299
|
@ -659,8 +659,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
|
|||
if(!strncmp(buffer, "PW", 2))
|
||||
{
|
||||
TRACE("Using cached credentials failed.\n");
|
||||
ret = SEC_E_NO_CREDENTIALS;
|
||||
goto isc_end;
|
||||
lstrcpynA(buffer, "PW AA==", max_len-1);
|
||||
}
|
||||
else /* Just do a noop on the next run */
|
||||
lstrcpynA(buffer, "OK", max_len-1);
|
||||
|
|
|
@ -1309,7 +1309,6 @@ static void test_null_auth_data(void)
|
|||
status = pInitializeSecurityContextA(&cred, NULL, (SEC_CHAR *)user,
|
||||
ISC_REQ_CONNECTION, 0, SECURITY_NETWORK_DREP,
|
||||
NULL, 0, &ctx, &buffer_desc, &attr, &ttl);
|
||||
todo_wine
|
||||
ok(status == SEC_I_CONTINUE_NEEDED, "InitializeSecurityContextA failed %s\n", getSecError(status));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue