crypt32/tests: Update a CryptMsgUpdate call to succeed on more Windows versions, and check its return value (Clang).
This commit is contained in:
parent
ecde55b757
commit
14626a7804
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue