aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-01-08 22:48:42 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-01-10 22:31:02 +0100
commita5997d180dfbcd8fefd16b001f352436a9e67e7e (patch)
tree392248f6941b6c2344ba41131f8356650ecaae52
parent51875db70ca0d23a8707da7a24b9e833cc51902d (diff)
downloadlibssh-a5997d180dfbcd8fefd16b001f352436a9e67e7e.tar.gz
libssh-a5997d180dfbcd8fefd16b001f352436a9e67e7e.tar.xz
libssh-a5997d180dfbcd8fefd16b001f352436a9e67e7e.zip
tests: Remove obsolete setup_both_keys()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/unittests/torture_pki.c10
1 files changed, 0 insertions, 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);