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

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


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 18:34:28 2011 -0800

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

---

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

diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index b1a993d..e338740 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -1834,6 +1834,7 @@ static void testCertSigs(void)
     CryptReleaseContext(csp, 0);
     ret = pCryptAcquireContextA(&csp, cspNameA, MS_DEF_PROV_A, PROV_RSA_FULL,
      CRYPT_DELETEKEYSET);
+    ok(ret, "CryptAcquireContext failed: %08x\n", GetLastError());
 }
 
 static const BYTE md5SignedEmptyCert[] = {




More information about the wine-cvs mailing list