Austin English : crypt32/tests: Make sure to use a return value (LLVM/Clang ).

Alexandre Julliard julliard at winehq.org
Fri Feb 11 11:16:34 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 13:27:06 2011 -0800

crypt32/tests: Make sure to use a return value (LLVM/Clang).

---

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

diff --git a/dlls/crypt32/tests/ctl.c b/dlls/crypt32/tests/ctl.c
index 8ee2652..978ccda 100644
--- a/dlls/crypt32/tests/ctl.c
+++ b/dlls/crypt32/tests/ctl.c
@@ -213,6 +213,7 @@ static void checkHash(const BYTE *data, DWORD dataLen, ALG_ID algID,
     memset(hashProperty, 0, sizeof(hashProperty));
     size = sizeof(hash);
     ret = CryptHashCertificate(0, algID, 0, data, dataLen, hash, &size);
+    ok(ret, "CryptHashCertificate failed: %08x\n", GetLastError());
     ret = CertGetCTLContextProperty(context, propID, hashProperty, &size);
     ok(ret, "CertGetCTLContextProperty failed: %08x\n", GetLastError());
     if (ret)




More information about the wine-cvs mailing list