From 99dfa9d3514dfbaf26ca62b9362fbd9aec45800e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 25 Sep 2023 17:58:32 +0200 Subject: [PATCH] Drop an unused variable in print_accepted_key_algorithms --- lib/perl/OVH/Bastion/ssh.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/perl/OVH/Bastion/ssh.inc b/lib/perl/OVH/Bastion/ssh.inc index b78195d..bbd1829 100644 --- a/lib/perl/OVH/Bastion/ssh.inc +++ b/lib/perl/OVH/Bastion/ssh.inc @@ -1057,7 +1057,6 @@ sub print_accepted_key_algorithms { $fnret = OVH::Bastion::get_supported_ssh_algorithms_list(way => $way); $fnret or osh_exit $fnret; my @algoList = @{$fnret->value}; - my $algos = join(' ', @algoList); if (grep { 'ed25519-sk' eq $_ } @algoList) { osh_info "FIDO2 Ed25519: strongness[######] speed[#####], use `ssh-keygen -t ed25519-sk' to generate one";