crypt32: Fix another test on Win9x.

This commit is contained in:
Juan Lang 2009-03-06 11:26:09 -08:00 committed by Alexandre Julliard
parent 74e9b904b9
commit b9cac15370
1 changed files with 3 additions and 2 deletions

View File

@ -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,