mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Set the correct algorithm when setting up rndc https://github.com/webmin/webmin/issues/1817
This commit is contained in:
@@ -35,7 +35,8 @@ if ($options) {
|
||||
$port = &find_value("default-port", $options->{'members'});
|
||||
}
|
||||
$port ||= 953;
|
||||
my $algorithm = &find("algorithm", $rconf);
|
||||
my $algorithm = &find_value("algorithm", $rkey->{'members'}) ||
|
||||
&find_value("algorithm", $rconf);
|
||||
$algorithm ||= "hmac-md5";
|
||||
|
||||
# Add the key to named.conf
|
||||
|
||||
Reference in New Issue
Block a user