Commit 38ca3516 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

secur32/tests: Skip sign/seal tests if authentication fails.

parent cb0b0885
......@@ -971,6 +971,10 @@ static void testSignSeal(void)
{
client_stat = runClient(&client, first, SECURITY_NETWORK_DREP);
ok(client_stat == SEC_E_OK || client_stat == SEC_I_CONTINUE_NEEDED,
"Running the client returned %s, more tests will fail.\n",
getSecError(client_stat));
communicate(&client, &server);
server_stat = runFakeServer(&server, first, SECURITY_NETWORK_DREP);
......@@ -980,6 +984,12 @@ static void testSignSeal(void)
first = FALSE;
}
if(client_stat != SEC_E_OK)
{
skip("Authentication failed, skipping test.\n");
goto end;
}
/********************************************
* Now start with the actual testing *
********************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment