aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_algorithms.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/torture_algorithms.c')
-rw-r--r--tests/client/torture_algorithms.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/client/torture_algorithms.c b/tests/client/torture_algorithms.c
index fceec00..a32ea01 100644
--- a/tests/client/torture_algorithms.c
+++ b/tests/client/torture_algorithms.c
@@ -149,6 +149,10 @@ static void torture_algorithms_zlib_openssh(void **state) {
}
int torture_run_tests(void) {
+ int rc;
+
+ ssh_init();
+
const UnitTest tests[] = {
unit_test_setup_teardown(torture_algorithms_aes128_cbc, setup, teardown),
unit_test_setup_teardown(torture_algorithms_aes192_cbc, setup, teardown),
@@ -162,5 +166,8 @@ int torture_run_tests(void) {
unit_test_setup_teardown(torture_algorithms_zlib_openssh, setup, teardown),
};
- return run_tests(tests);
+ rc = run_tests(tests);
+ ssh_finalize();
+
+ return rc;
}