From 1cffced9c5a8cccd3b60beb8e0f483a9e9f498fd Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 30 Mar 2023 19:42:06 -0700 Subject: [PATCH] runtests: use the ssh key filenames from the sshhelp package --- tests/runtests.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index ac0c2a2c5e..700632f416 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -96,6 +96,8 @@ use serverhelp qw( # Variables and subs imported from sshhelp module use sshhelp qw( + $hstpubmd5f + $hstpubsha256f $sshdexe $sshexe $sftpexe @@ -2214,7 +2216,6 @@ sub runsshserver { return (0,0,0); } - my $hstpubmd5f = "curl_host_rsa_key.pub_md5"; my $hostfile; if(!open($hostfile, "<", $hstpubmd5f) || (read($hostfile, $SSHSRVMD5, 32) != 32) || @@ -2227,7 +2228,6 @@ sub runsshserver { die $msg; } - my $hstpubsha256f = "curl_host_rsa_key.pub_sha256"; if(!open($hostfile, "<", $hstpubsha256f) || (read($hostfile, $SSHSRVSHA256, 48) == 0) || !close($hostfile)) -- 2.47.3