Tighten tests in testPortPublicKeyInfo.
Gerald Pfeifer
gerald at pfeifer.com
Fri Apr 30 19:42:11 CDT 2010
Similar disclaimer as with the previous patch -- somehow my tester
is having general troubles, so couldn't fully test this. (If we
don't want to add such tests, we can also remove the ret variable
altogether.)
Gerald
---
dlls/crypt32/tests/encode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 0f8ae7f..1c33aee 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -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)
--
1.6.6.2
More information about the wine-patches
mailing list