Add 'exit' label and variable initialization to relevant test suite functions
diff --git a/tests/suites/test_suite_aes.function b/tests/suites/test_suite_aes.function
index 20f5889..3bd7d4a 100644
--- a/tests/suites/test_suite_aes.function
+++ b/tests/suites/test_suite_aes.function
@@ -36,6 +36,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
}
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -69,6 +70,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
}
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -106,6 +108,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
}
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -143,6 +146,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
}
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -177,6 +181,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -211,6 +216,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -244,6 +250,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
+exit:
aes_free( &ctx );
}
/* END_CASE */
@@ -277,6 +284,7 @@
TEST_ASSERT( strcmp( (char *) dst_str, hex_dst_string ) == 0 );
+exit:
aes_free( &ctx );
}
/* END_CASE */