mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:53:39 +03:00
tests: make sshserver less verbose
Only display top of key files in verbose mode.
Follow-up to 89f306ae40 #16781
Closes #17647
This commit is contained in:
parent
6270b41f92
commit
3135ed0d84
1 changed files with 2 additions and 2 deletions
|
|
@ -428,13 +428,13 @@ if((! -e pp($hstprvkeyf)) || (! -s pp($hstprvkeyf)) ||
|
|||
logmsg "Could not generate host key\n";
|
||||
exit 1;
|
||||
}
|
||||
display_file_top(pp($hstprvkeyf));
|
||||
display_file_top(pp($hstprvkeyf)) if($verbose);
|
||||
logmsg "generating client keys...\n" if($verbose);
|
||||
if(system "\"$sshkeygen\" -q -t rsa -f " . pp($cliprvkeyf) . " -C 'curl test client' -N ''" . $sshkeygenopt) {
|
||||
logmsg "Could not generate client key\n";
|
||||
exit 1;
|
||||
}
|
||||
display_file_top(pp($cliprvkeyf));
|
||||
display_file_top(pp($cliprvkeyf)) if($verbose);
|
||||
# Make sure that permissions are restricted so openssh doesn't complain
|
||||
chmod 0600, pp($hstprvkeyf);
|
||||
chmod 0600, pp($cliprvkeyf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue