crypt32/tests: make sure to use return values (LLVM/Clang)
Austin English
austinenglish at gmail.com
Tue Feb 8 18:05:55 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index d11dece..eeb322d 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -3857,9 +3857,11 @@ static void test_CERT_CHAIN_PARA_cbSize(void)
ret = CertAddEncodedCertificateToStore(store,
X509_ASN_ENCODING, chain0_0, sizeof(chain0_0),
CERT_STORE_ADD_ALWAYS, NULL);
+ ok(ret, "CertAddEncodedCertificateToStore failed: %08x\n", GetLastError());
ret = CertAddEncodedCertificateToStore(store,
X509_ASN_ENCODING, chain0_1, sizeof(chain0_1),
CERT_STORE_ADD_ALWAYS, &cert);
+ ok(ret, "CertAddEncodedCertificateToStore failed: %08x\n", GetLastError());
for (i = 0; i < sizeof(CERT_CHAIN_PARA) + 2; i++)
{
More information about the wine-patches
mailing list