wintrust: Move provider function tests to their own function.
This commit is contained in:
parent
84935f5ce0
commit
1da4a29050
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue