mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
vpnmain.cgi: Fix selection of AES-192 as ESP cipher.
This commit is contained in:
@@ -2092,7 +2092,7 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
|
|||||||
goto ADVANCED_ERROR;
|
goto ADVANCED_ERROR;
|
||||||
}
|
}
|
||||||
foreach my $val (@temp) {
|
foreach my $val (@temp) {
|
||||||
if ($val !~ /^(aes256|aes128|3des)$/) {
|
if ($val !~ /^(aes256|aes192|aes128|3des)$/) {
|
||||||
$errormessage = $Lang::tr{'invalid input'};
|
$errormessage = $Lang::tr{'invalid input'};
|
||||||
goto ADVANCED_ERROR;
|
goto ADVANCED_ERROR;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user