From 9196639940634a58a83a4a877903b2ca56e81fff Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 29 Aug 2018 19:16:37 +0200 Subject: [PATCH] tests: Drop duplicate ed25519 key creation Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider (cherry picked from commit 9d2de880ec889c4ff3c62380175d9d02f77ad462) --- tests/torture.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/torture.c b/tests/torture.c index 5f9f67b3..e442b425 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -652,13 +652,6 @@ static void torture_setup_create_sshd_config(void **state) torture_write_file(ecdsa_hostkey, torture_get_testkey(SSH_KEYTYPE_ECDSA, 521, 0)); - snprintf(ed25519_hostkey, - sizeof(ed25519_hostkey), - "%s/sshd/ssh_host_ed25519_key", - s->socket_dir); - torture_write_file(ed25519_hostkey, - torture_get_testkey(SSH_KEYTYPE_ED25519, 0, 0)); - snprintf(trusted_ca_pubkey, sizeof(trusted_ca_pubkey), "%s/sshd/user_ca.pub",