crypt32/tests: make sure to use a return value (LLVM/Clang) (2/5)

Austin English austinenglish at gmail.com
Thu Feb 10 15:27:06 CST 2011


-- 
-Austin
-------------- next part --------------
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-patches mailing list