crypt32/tests: Test return value (clang).

oldstable
Juan Lang 2011-02-15 11:07:19 -08:00 committed by Alexandre Julliard
parent bcace6fb7c
commit 04f74d7e43
1 changed files with 2 additions and 0 deletions

View File

@ -853,6 +853,8 @@ static void test_hash_msg_get_param(void)
ok(ret, "CryptMsgGetParam failed: %08x\n", GetLastError());
ok(size == sizeof(buf), "Unexpected size %d\n", size);
ret = CryptMsgGetParam(msg, CMSG_COMPUTED_HASH_PARAM, 0, buf, &size);
ok(ret, "CryptMsgGetParam failed: %08x\n", GetLastError());
ok(size == sizeof(buf), "Unexpected size %d\n", size);
if (size == sizeof(buf))
ok(!memcmp(buf, emptyHashParam, size), "Unexpected value\n");
/* By getting the hash, further updates are not allowed */