wintrust/tests: Fix a test failure on W2K.

This commit is contained in:
Paul Vriens 2009-01-21 17:23:48 +01:00 committed by Alexandre Julliard
parent bbd4e078c6
commit e6676ff50e
1 changed files with 5 additions and 0 deletions

View File

@ -621,6 +621,11 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
ok(hcat == INVALID_HANDLE_VALUE, "CryptCATOpen succeeded\n");
hcat = pCryptCATOpen(catalogW, 0, 0, 0, 0);
if (hcat == INVALID_HANDLE_VALUE && members == 0)
{
win_skip("CryptCATOpen on W2K can't handle catalog files with no members\n");
return;
}
ok(hcat != INVALID_HANDLE_VALUE, "CryptCATOpen failed %u\n", GetLastError());
m = pCryptCATEnumerateMember(NULL, NULL);