secur32: Check for actual return value on invalid QuerySecurityPackageInfo call.
This commit is contained in:
parent
045270605c
commit
df3a7a7b43
|
@ -223,8 +223,9 @@ static void testQuerySecurityPackageInfo(void)
|
||||||
pkg_info = (void *)0xdeadbeef;
|
pkg_info = (void *)0xdeadbeef;
|
||||||
sec_status = pQuerySecurityPackageInfoA(winetest, &pkg_info);
|
sec_status = pQuerySecurityPackageInfoA(winetest, &pkg_info);
|
||||||
|
|
||||||
ok( sec_status != SEC_E_OK,
|
ok( sec_status == SEC_E_SECPKG_NOT_FOUND,
|
||||||
"Return value of QuerySecurityPackageInfo() should not be %s for a nonexistent package\n", getSecError(SEC_E_OK));
|
"Return value of QuerySecurityPackageInfo() should be %s for a nonexistent package\n",
|
||||||
|
getSecError(SEC_E_SECPKG_NOT_FOUND));
|
||||||
|
|
||||||
ok(pkg_info == (void *)0xdeadbeef, "wrong pkg_info address %p\n", pkg_info);
|
ok(pkg_info == (void *)0xdeadbeef, "wrong pkg_info address %p\n", pkg_info);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue