Module: wine Branch: master Commit: e48b34cdb3aadaaea3760857807cabab8c519c91 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e48b34cdb3aadaaea376085780...
Author: Austin English austinenglish@gmail.com Date: Tue Feb 8 16:05:55 2011 -0800
crypt32/tests: Make sure to use return values (LLVM/Clang).
---
dlls/crypt32/tests/chain.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
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++) {