Commit bcace6fb authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32/tests: Test a return value (clang).

parent d4748065
...@@ -2271,6 +2271,8 @@ static void testAddCertificateLink(void) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment