From e48b34cdb3aadaaea3760857807cabab8c519c91 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 8 Feb 2011 16:05:55 -0800 Subject: [PATCH] crypt32/tests: Make sure to use return values (LLVM/Clang). --- dlls/crypt32/tests/chain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c index d11dece5160..eeb322d34cb 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++) {