Aric Stewart : secur32/tests: Skip test on failure to acquire cred_handle.

Alexandre Julliard julliard at winehq.org
Thu Dec 2 12:23:59 CST 2010


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Wed Dec  1 20:28:50 2010 -0600

secur32/tests: Skip test on failure to acquire cred_handle.

---

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

diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index c35c2dd..18a5c1e 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -625,6 +625,7 @@ static void test_communication(void)
     status = pAcquireCredentialsHandleA(NULL, (SEC_CHAR *)UNISP_NAME, SECPKG_CRED_OUTBOUND, NULL,
         &cred, NULL, NULL, &cred_handle, NULL);
     ok(status == SEC_E_OK, "AcquireCredentialsHandleA failed: %08x\n", status);
+    if (status != SEC_E_OK) return;
 
     /* Initialize the connection */
     init_buffers(&buffers[0], 4, buf_size);




More information about the wine-cvs mailing list