crypt32/tests: Update a CryptMsgUpdate call to succeed on more Windows versions, and check its return value (Clang).

This commit is contained in:
Juan Lang 2011-02-10 12:00:40 -08:00 committed by Alexandre Julliard
parent ecde55b757
commit 14626a7804
1 changed files with 2 additions and 1 deletions

View File

@ -3205,7 +3205,8 @@ static void test_msg_control(void)
ok(!ret && GetLastError() == E_INVALIDARG,
"Expected E_INVALIDARG, got %08x\n", GetLastError());
}
ret = CryptMsgUpdate(msg, NULL, 0, TRUE);
ret = CryptMsgUpdate(msg, msgData, sizeof(msgData), TRUE);
ok(ret, "CryptMsgUpdate failed: %08x\n", GetLastError());
/* or after an update. */
for (i = 1; !old_crypt32 && (i <= CMSG_CTRL_ADD_CMS_SIGNER_INFO); i++)
{