From fe05a73042edb378e47e1be3b1f7817a00e64031 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 1 Dec 2010 20:28:50 -0600 Subject: [PATCH] secur32/tests: Skip test on failure to acquire cred_handle. --- dlls/secur32/tests/schannel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c index c35c2dd6c0a..18a5c1efd0f 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);