crypt32/tests: Tighten tests in testPortPublicKeyInfo.

This commit is contained in:
Gerald Pfeifer 2010-05-01 02:42:11 +02:00 committed by Alexandre Julliard
parent c85eb78090
commit abae415487
1 changed files with 2 additions and 0 deletions

View File

@ -7964,6 +7964,7 @@ static void testPortPublicKeyInfo(void)
CRYPT_DELETEKEYSET);
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
CRYPT_NEWKEYSET);
ok(ret,"CryptAcquireContextA failed");
testExportPublicKey(csp, &info);
testImportPublicKey(csp, info);
@ -7972,6 +7973,7 @@ static void testPortPublicKeyInfo(void)
CryptReleaseContext(csp, 0);
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
CRYPT_DELETEKEYSET);
ok(ret,"CryptAcquireContextA failed");
}
START_TEST(encode)