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

This commit is contained in:
Austin English 2011-02-10 13:27:06 -08:00 committed by Alexandre Julliard
parent 4d5293bd81
commit f6364bf970
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ static void checkHash(const BYTE *data, DWORD dataLen, ALG_ID algID,
memset(hashProperty, 0, sizeof(hashProperty));
size = sizeof(hash);
ret = CryptHashCertificate(0, algID, 0, data, dataLen, hash, &size);
ok(ret, "CryptHashCertificate failed: %08x\n", GetLastError());
ret = CertGetCTLContextProperty(context, propID, hashProperty, &size);
ok(ret, "CertGetCTLContextProperty failed: %08x\n", GetLastError());
if (ret)