crypt32/tests: Test a return value (clang).
This commit is contained in:
parent
d4748065b3
commit
bcace6fb7c
@ -2271,6 +2271,8 @@ static void testAddCertificateLink(void)
|
|||||||
{
|
{
|
||||||
ret = CertGetCertificateContextProperty(linked,
|
ret = CertGetCertificateContextProperty(linked,
|
||||||
CERT_FRIENDLY_NAME_PROP_ID, buf, &size);
|
CERT_FRIENDLY_NAME_PROP_ID, buf, &size);
|
||||||
|
ok(ret, "CertGetCertificateContextProperty failed: %08x\n",
|
||||||
|
GetLastError());
|
||||||
ok(!lstrcmpW((LPCWSTR)buf, WineTestW),
|
ok(!lstrcmpW((LPCWSTR)buf, WineTestW),
|
||||||
"unexpected friendly name\n");
|
"unexpected friendly name\n");
|
||||||
HeapFree(GetProcessHeap(), 0, buf);
|
HeapFree(GetProcessHeap(), 0, buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user