mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
advapi32/tests: Remove bad key set on cleanup.
This commit is contained in:
parent
7c0c050aa1
commit
9374c5bb56
@ -146,6 +146,13 @@ static void clean_up_environment(void)
|
||||
pCryptReleaseContext(hProv, 0);
|
||||
pCryptAcquireContextA(&hProv, szKeySet, NULL, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
|
||||
}
|
||||
|
||||
/* Remove container "wine_test_bad_keyset" */
|
||||
if (pCryptAcquireContextA(&hProv, szBadKeySet, szRsaBaseProv, PROV_RSA_FULL, 0))
|
||||
{
|
||||
pCryptReleaseContext(hProv, 0);
|
||||
pCryptAcquireContextA(&hProv, szBadKeySet, szRsaBaseProv, PROV_RSA_FULL, CRYPT_DELETEKEYSET);
|
||||
}
|
||||
}
|
||||
|
||||
static void test_acquire_context(void)
|
||||
|
Loading…
Reference in New Issue
Block a user