mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
tests: Fixed a build warning introduced before.
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user