crypt32/tests: Tighten tests in testPortPublicKeyInfo.
This commit is contained in:
parent
c85eb78090
commit
abae415487
|
@ -7964,6 +7964,7 @@ static void testPortPublicKeyInfo(void)
|
||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
||||||
CRYPT_NEWKEYSET);
|
CRYPT_NEWKEYSET);
|
||||||
|
ok(ret,"CryptAcquireContextA failed");
|
||||||
|
|
||||||
testExportPublicKey(csp, &info);
|
testExportPublicKey(csp, &info);
|
||||||
testImportPublicKey(csp, info);
|
testImportPublicKey(csp, info);
|
||||||
|
@ -7972,6 +7973,7 @@ static void testPortPublicKeyInfo(void)
|
||||||
CryptReleaseContext(csp, 0);
|
CryptReleaseContext(csp, 0);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
|
ok(ret,"CryptAcquireContextA failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(encode)
|
START_TEST(encode)
|
||||||
|
|
Loading…
Reference in New Issue