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

oldstable
Juan Lang 2011-02-15 11:08:36 -08:00 committed by Alexandre Julliard
parent d4748065b3
commit bcace6fb7c
1 changed files with 2 additions and 0 deletions

View File

@ -2271,6 +2271,8 @@ static void testAddCertificateLink(void)
{
ret = CertGetCertificateContextProperty(linked,
CERT_FRIENDLY_NAME_PROP_ID, buf, &size);
ok(ret, "CertGetCertificateContextProperty failed: %08x\n",
GetLastError());
ok(!lstrcmpW((LPCWSTR)buf, WineTestW),
"unexpected friendly name\n");
HeapFree(GetProcessHeap(), 0, buf);