wintrust/tests: Vista/W2K8 have some extra struct members.
This commit is contained in:
parent
025a39e209
commit
b7787ec0c8
|
@ -506,7 +506,8 @@ static void test_get_known_usages(void)
|
|||
*/
|
||||
for (ptr = usages; *ptr; ptr++)
|
||||
{
|
||||
ok((*ptr)->cbSize == sizeof(CRYPT_OID_INFO),
|
||||
ok((*ptr)->cbSize == sizeof(CRYPT_OID_INFO) ||
|
||||
(*ptr)->cbSize == (sizeof(CRYPT_OID_INFO) + 2 * sizeof(LPCWSTR)), /* Vista */
|
||||
"unexpected size %d\n", (*ptr)->cbSize);
|
||||
/* Each returned usage is in the CRYPT_ENHKEY_USAGE_OID_GROUP_ID group */
|
||||
ok((*ptr)->dwGroupId == CRYPT_ENHKEY_USAGE_OID_GROUP_ID,
|
||||
|
|
Loading…
Reference in New Issue