Juan Lang : crypt32/tests: Test return value (clang).

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:33 CST 2011


Module: wine
Branch: master
Commit: 04f74d7e43336afd62feb918a9c2ee7e9fab8d6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=04f74d7e43336afd62feb918a9c2ee7e9fab8d6d

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Feb 15 11:07:19 2011 -0800

crypt32/tests: Test return value (clang).

---

 dlls/crypt32/tests/msg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index de55d6b..ddb94bd 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -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 */




More information about the wine-cvs mailing list