mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
crypt32/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
a19ce2080e
commit
e48b34cdb3
@ -3857,9 +3857,11 @@ static void test_CERT_CHAIN_PARA_cbSize(void)
|
|||||||
ret = CertAddEncodedCertificateToStore(store,
|
ret = CertAddEncodedCertificateToStore(store,
|
||||||
X509_ASN_ENCODING, chain0_0, sizeof(chain0_0),
|
X509_ASN_ENCODING, chain0_0, sizeof(chain0_0),
|
||||||
CERT_STORE_ADD_ALWAYS, NULL);
|
CERT_STORE_ADD_ALWAYS, NULL);
|
||||||
|
ok(ret, "CertAddEncodedCertificateToStore failed: %08x\n", GetLastError());
|
||||||
ret = CertAddEncodedCertificateToStore(store,
|
ret = CertAddEncodedCertificateToStore(store,
|
||||||
X509_ASN_ENCODING, chain0_1, sizeof(chain0_1),
|
X509_ASN_ENCODING, chain0_1, sizeof(chain0_1),
|
||||||
CERT_STORE_ADD_ALWAYS, &cert);
|
CERT_STORE_ADD_ALWAYS, &cert);
|
||||||
|
ok(ret, "CertAddEncodedCertificateToStore failed: %08x\n", GetLastError());
|
||||||
|
|
||||||
for (i = 0; i < sizeof(CERT_CHAIN_PARA) + 2; i++)
|
for (i = 0; i < sizeof(CERT_CHAIN_PARA) + 2; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user