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

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:33 CST 2011


Module: wine
Branch: master
Commit: bcace6fb7c70034d8bbd009be809745b007d585c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bcace6fb7c70034d8bbd009be809745b007d585c

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Feb 15 11:08:36 2011 -0800

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

---

 dlls/crypt32/tests/store.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
index 521fc48..db31190 100644
--- a/dlls/crypt32/tests/store.c
+++ b/dlls/crypt32/tests/store.c
@@ -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);




More information about the wine-cvs mailing list