From a5997d180dfbcd8fefd16b001f352436a9e67e7e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 8 Jan 2018 22:48:42 +0100 Subject: [PATCH] tests: Remove obsolete setup_both_keys() Signed-off-by: Andreas Schneider --- tests/unittests/torture_pki.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/unittests/torture_pki.c b/tests/unittests/torture_pki.c index 279b13a8..2355979d 100644 --- a/tests/unittests/torture_pki.c +++ b/tests/unittests/torture_pki.c @@ -31,14 +31,6 @@ static int setup_rsa_key(void **state) return 0; } -static int setup_both_keys(void **state) { - (void) state; /* unused */ - - setup_rsa_key(state); - - return 0; -} - static int teardown(void **state) { (void) state; /* unused */ @@ -581,8 +573,6 @@ int torture_run_tests(void) { #endif /* HAVE_LIBCRYPTO */ }; - (void)setup_both_keys; - ssh_init(); torture_filter_tests(tests); rc = cmocka_run_group_tests(tests, NULL, NULL);