From b9cac1537092e0c1aa9c998cc97ec2ce1bcaa8c9 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 6 Mar 2009 11:26:09 -0800 Subject: [PATCH] crypt32: Fix another test on Win9x. --- dlls/crypt32/tests/msg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c index b0e5bd0b9b..5f74aeed35 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, -- 2.32.0.93.g670b81a890