wintrust: Move provider function tests to their own function.

This commit is contained in:
Juan Lang 2008-07-15 11:46:34 -07:00 committed by Alexandre Julliard
parent 84935f5ce0
commit 1da4a29050
1 changed files with 6 additions and 1 deletions

View File

@ -398,7 +398,7 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
}
}
START_TEST(softpub)
static void test_provider_funcs(void)
{
static GUID generic_verify_v2 = WINTRUST_ACTION_GENERIC_VERIFY_V2;
SAFE_PROVIDER_FUNCTIONS funcs = { sizeof(SAFE_PROVIDER_FUNCTIONS), 0 };
@ -416,3 +416,8 @@ START_TEST(softpub)
testCertTrust(&funcs, &generic_verify_v2);
}
}
START_TEST(softpub)
{
test_provider_funcs();
}