Commit df3a7a7b authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Check for actual return value on invalid QuerySecurityPackageInfo call.

parent 04527060
......@@ -223,8 +223,9 @@ static void testQuerySecurityPackageInfo(void)
pkg_info = (void *)0xdeadbeef;
sec_status = pQuerySecurityPackageInfoA(winetest, &pkg_info);
ok( sec_status != SEC_E_OK,
"Return value of QuerySecurityPackageInfo() should not be %s for a nonexistent package\n", getSecError(SEC_E_OK));
ok( sec_status == SEC_E_SECPKG_NOT_FOUND,
"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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment