From: Dan Fandrich Date: Fri, 31 Mar 2023 02:42:06 +0000 (-0700) Subject: runtests: use the ssh key filenames from the sshhelp package X-Git-Tag: curl-8_1_0~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cffced9c5a8cccd3b60beb8e0f483a9e9f498fd;p=thirdparty%2Fcurl.git runtests: use the ssh key filenames from the sshhelp package --- 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))