secur32/tests: Skip sign/seal tests if authentication fails.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cb0b088551
commit
38ca35166b
|
@ -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 *
|
||||
********************************************/
|
||||
|
|
Loading…
Reference in New Issue