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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/client/torture_algorithms.c b/tests/client/torture_algorithms.c
index a32ea01..8f51d40 100644
--- a/tests/client/torture_algorithms.c
+++ b/tests/client/torture_algorithms.c
@@ -150,9 +150,6 @@ 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),
@@ -166,6 +163,8 @@ int torture_run_tests(void) {
unit_test_setup_teardown(torture_algorithms_zlib_openssh, setup, teardown),
};
+ ssh_init();
+
rc = run_tests(tests);
ssh_finalize();