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

oldstable
Austin English 2011-02-08 16:05:55 -08:00 committed by Alexandre Julliard
parent a19ce2080e
commit e48b34cdb3
1 changed files with 2 additions and 0 deletions

View File

@ -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++)
{