mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Zone key record might not exist https://forum.virtualmin.com/t/security-updates/127159
This commit is contained in:
@@ -40,6 +40,7 @@ if (@keyrecs) {
|
||||
my $kt = $key->{'ksk'} ? 'ksk' : 'zone';
|
||||
my ($keyrec) = grep { $_->{'values'}->[0] ==
|
||||
($key->{'ksk'} ? 257 : 256) } @keyrecs;
|
||||
next if (!$keyrec);
|
||||
my $keyline = format_dnssec_public_key(
|
||||
join(" ", $keyrec->{'name'}, $keyrec->{'class'},
|
||||
$keyrec->{'type'}, @{$keyrec->{'values'}}));
|
||||
|
||||
Reference in New Issue
Block a user