mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
tests: Drop duplicate ed25519 key creation
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 9d2de880ec)
This commit is contained in:
committed by
Andreas Schneider
parent
786d7e39a3
commit
9196639940
@@ -652,13 +652,6 @@ static void torture_setup_create_sshd_config(void **state)
|
|||||||
torture_write_file(ecdsa_hostkey,
|
torture_write_file(ecdsa_hostkey,
|
||||||
torture_get_testkey(SSH_KEYTYPE_ECDSA, 521, 0));
|
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,
|
snprintf(trusted_ca_pubkey,
|
||||||
sizeof(trusted_ca_pubkey),
|
sizeof(trusted_ca_pubkey),
|
||||||
"%s/sshd/user_ca.pub",
|
"%s/sshd/user_ca.pub",
|
||||||
|
|||||||
Reference in New Issue
Block a user