mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Move code in wrong place
This commit is contained in:
@@ -7,6 +7,7 @@ require './webmin-lib.pl';
|
||||
&error_setup($text{'newkey_err'});
|
||||
|
||||
# Validate inputs and create the key
|
||||
$in{'newfile'} || return $text{'newkey_efile'};
|
||||
$err = &parse_ssl_key_form(\%in, $in{'newfile'});
|
||||
&error($err) if ($err);
|
||||
|
||||
|
||||
@@ -1290,7 +1290,6 @@ local %in = %$in;
|
||||
# Validate inputs
|
||||
$in{'commonName_def'} || $in{'commonName'} =~ /^[A-Za-z0-9\.\-\*]+$/ ||
|
||||
return $text{'newkey_ecn'};
|
||||
$in{'newfile'} || return $text{'newkey_efile'};
|
||||
$in{'size_def'} || $in{'size'} =~ /^\d+$/ || return $text{'newkey_esize'};
|
||||
$in{'days'} =~ /^\d+$/ || return $text{'newkey_edays'};
|
||||
$in{'countryName'} =~ /^\S\S$/ || return $text{'newkey_ecountry'};
|
||||
|
||||
Reference in New Issue
Block a user