Austin English : crypt32/tests: Make sure to use a return value (LLVM/Clang ).
Module: wine Branch: master Commit: f6364bf9703adefea326276bb652966b5438738a URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6364bf9703adefea326276bb6... Author: Austin English <austinenglish(a)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)
participants (1)
-
Alexandre Julliard