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

This commit is contained in:
Aric Stewart 2010-12-01 20:28:50 -06:00 committed by Alexandre Julliard
parent cc34ca4c51
commit fe05a73042
1 changed files with 1 additions and 0 deletions

View File

@ -625,6 +625,7 @@ static void test_communication(void)
status = pAcquireCredentialsHandleA(NULL, (SEC_CHAR *)UNISP_NAME, SECPKG_CRED_OUTBOUND, NULL, status = pAcquireCredentialsHandleA(NULL, (SEC_CHAR *)UNISP_NAME, SECPKG_CRED_OUTBOUND, NULL,
&cred, NULL, NULL, &cred_handle, NULL); &cred, NULL, NULL, &cred_handle, NULL);
ok(status == SEC_E_OK, "AcquireCredentialsHandleA failed: %08x\n", status); ok(status == SEC_E_OK, "AcquireCredentialsHandleA failed: %08x\n", status);
if (status != SEC_E_OK) return;
/* Initialize the connection */ /* Initialize the connection */
init_buffers(&buffers[0], 4, buf_size); init_buffers(&buffers[0], 4, buf_size);