Commit 9a56d5ff authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

secur32/tests: Fix a test failure.

parent b605d822
...@@ -2018,6 +2018,7 @@ static void test_connection_shutdown(void) ...@@ -2018,6 +2018,7 @@ static void test_connection_shutdown(void)
ok( status == SEC_E_OK, "got %08lx.\n", status ); ok( status == SEC_E_OK, "got %08lx.\n", status );
ok( buf->cbBuffer == sizeof(message), "got cbBuffer %#lx.\n", buf->cbBuffer ); ok( buf->cbBuffer == sizeof(message), "got cbBuffer %#lx.\n", buf->cbBuffer );
ok( !memcmp( buf->pvBuffer, message, sizeof(message) ), "message data mismatch.\n" ); ok( !memcmp( buf->pvBuffer, message, sizeof(message) ), "message data mismatch.\n" );
free_buffers( &buffers[0] );
alert.dwTokenType = SCHANNEL_ALERT; alert.dwTokenType = SCHANNEL_ALERT;
alert.dwAlertType = TLS1_ALERT_FATAL; alert.dwAlertType = TLS1_ALERT_FATAL;
...@@ -2031,7 +2032,6 @@ static void test_connection_shutdown(void) ...@@ -2031,7 +2032,6 @@ static void test_connection_shutdown(void)
NULL, 0, NULL, &buffers[1], &attrs, NULL ); NULL, 0, NULL, &buffers[1], &attrs, NULL );
ok( status == SEC_E_OK, "got %08lx.\n", status ); ok( status == SEC_E_OK, "got %08lx.\n", status );
free_buffers( &buffers[0] );
free_buffers( &buffers[1] ); free_buffers( &buffers[1] );
DeleteSecurityContext( &context ); DeleteSecurityContext( &context );
FreeCredentialsHandle( &cred_handle ); FreeCredentialsHandle( &cred_handle );
......
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