Revert "advapi32: Fix cred domain according to tests.".
This reverts commit 061eb12ca3
.
The patch makes tests for CredRead and CredEnumerate pass but breaks
CredWrite at the same time.
This commit is contained in:
parent
06562d16b3
commit
3440e768dd
|
@ -1821,9 +1821,6 @@ BOOL WINAPI CredWriteW(PCREDENTIALW Credential, DWORD Flags)
|
||||||
SetLastError(ERROR_BAD_USERNAME);
|
SetLastError(ERROR_BAD_USERNAME);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
Credential->CredentialBlobSize = 0;
|
|
||||||
Credential->CredentialBlob = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|
|
@ -202,7 +202,9 @@ static void check_blob(int line, DWORD cred_type, PCREDENTIALA cred)
|
||||||
{
|
{
|
||||||
if (cred_type == CRED_TYPE_DOMAIN_PASSWORD)
|
if (cred_type == CRED_TYPE_DOMAIN_PASSWORD)
|
||||||
{
|
{
|
||||||
|
todo_wine
|
||||||
ok_(__FILE__, line)(cred->CredentialBlobSize == 0, "expected CredentialBlobSize of 0 but got %d\n", cred->CredentialBlobSize);
|
ok_(__FILE__, line)(cred->CredentialBlobSize == 0, "expected CredentialBlobSize of 0 but got %d\n", cred->CredentialBlobSize);
|
||||||
|
todo_wine
|
||||||
ok_(__FILE__, line)(!cred->CredentialBlob, "expected NULL credentials but got %p\n", cred->CredentialBlob);
|
ok_(__FILE__, line)(!cred->CredentialBlob, "expected NULL credentials but got %p\n", cred->CredentialBlob);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue