advapi32/tests: Mark a test result as broken.
This commit is contained in:
parent
cabeb962cc
commit
51acdc6b27
|
@ -1144,7 +1144,7 @@ static void test_container_sd(void)
|
||||||
{
|
{
|
||||||
HCRYPTPROV prov;
|
HCRYPTPROV prov;
|
||||||
SECURITY_DESCRIPTOR *sd;
|
SECURITY_DESCRIPTOR *sd;
|
||||||
DWORD len;
|
DWORD len, err;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
||||||
ret = CryptAcquireContextA(&prov, "winetest", "Microsoft Enhanced Cryptographic Provider v1.0",
|
ret = CryptAcquireContextA(&prov, "winetest", "Microsoft Enhanced Cryptographic Provider v1.0",
|
||||||
|
@ -1154,8 +1154,9 @@ static void test_container_sd(void)
|
||||||
len = 0;
|
len = 0;
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = CryptGetProvParam(prov, PP_KEYSET_SEC_DESCR, NULL, &len, OWNER_SECURITY_INFORMATION);
|
ret = CryptGetProvParam(prov, PP_KEYSET_SEC_DESCR, NULL, &len, OWNER_SECURITY_INFORMATION);
|
||||||
ok(ret, "got %u\n", GetLastError());
|
err = GetLastError();
|
||||||
ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "got %u\n", GetLastError());
|
ok(ret, "got %u\n", err);
|
||||||
|
ok(err == ERROR_INSUFFICIENT_BUFFER || broken(err == ERROR_INVALID_PARAMETER), "got %u\n", err);
|
||||||
ok(len, "expected len > 0\n");
|
ok(len, "expected len > 0\n");
|
||||||
|
|
||||||
sd = HeapAlloc(GetProcessHeap(), 0, len);
|
sd = HeapAlloc(GetProcessHeap(), 0, len);
|
||||||
|
|
Loading…
Reference in New Issue