vpnmain.cgi: Fix selection of AES-192 as ESP cipher.

This commit is contained in:
Michael Tremer
2013-01-15 15:57:29 +01:00
parent b2531cb080
commit 60cc2e54a7

View File

@@ -2092,7 +2092,7 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
goto ADVANCED_ERROR;
}
foreach my $val (@temp) {
if ($val !~ /^(aes256|aes128|3des)$/) {
if ($val !~ /^(aes256|aes192|aes128|3des)$/) {
$errormessage = $Lang::tr{'invalid input'};
goto ADVANCED_ERROR;
}