Juan Lang : crypt32: Fix another test on Win9x.
Alexandre Julliard
julliard at winehq.org
Mon Mar 9 09:40:23 CDT 2009
Module: wine
Branch: master
Commit: b9cac1537092e0c1aa9c998cc97ec2ce1bcaa8c9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b9cac1537092e0c1aa9c998cc97ec2ce1bcaa8c9
Author: Juan Lang <juan.lang at gmail.com>
Date: Fri Mar 6 11:26:09 2009 -0800
crypt32: Fix another test on Win9x.
---
dlls/crypt32/tests/msg.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index b0e5bd0..5f74aee 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -1842,7 +1842,7 @@ static void test_signed_msg_get_param(void)
GetLastError());
if (!ret)
{
- skip("message parameters are broken, skipping tests");
+ skip("message parameters are broken, skipping tests\n");
return;
}
size = 0;
@@ -2200,7 +2200,8 @@ static void test_decode_msg_update(void)
msg = CryptMsgOpenToDecode(PKCS_7_ASN_ENCODING, 0, 0, 0, NULL, NULL);
SetLastError(0xdeadbeef);
ret = CryptMsgUpdate(msg, hashEmptyContent, sizeof(hashEmptyContent), TRUE);
- ok(ret, "CryptMsgUpdate failed: %08x\n", GetLastError());
+ ok(ret || broken(GetLastError() == OSS_DATA_ERROR /* Win9x */),
+ "CryptMsgUpdate failed: %08x\n", GetLastError());
CryptMsgClose(msg);
/* while with specified type it fails. */
msg = CryptMsgOpenToDecode(PKCS_7_ASN_ENCODING, 0, CMSG_HASHED, 0, NULL,
More information about the wine-cvs
mailing list