Gerald Pfeifer : crypt32/tests: Tighten tests in testPortPublicKeyInfo.
Alexandre Julliard
julliard at winehq.org
Mon May 3 11:54:12 CDT 2010
Module: wine
Branch: master
Commit: abae415487b9198dca5a918a09832a47008c1005
URL: http://source.winehq.org/git/wine.git/?a=commit;h=abae415487b9198dca5a918a09832a47008c1005
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat May 1 02:42:11 2010 +0200
crypt32/tests: Tighten tests in testPortPublicKeyInfo.
---
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)
More information about the wine-cvs
mailing list