From: Michael Tremer Date: Tue, 15 Jan 2013 14:57:29 +0000 (+0100) Subject: vpnmain.cgi: Fix selection of AES-192 as ESP cipher. X-Git-Tag: v2.13-beta2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60cc2e54a74de59f7bbecac7965d7aa58a3fda2e;p=ipfire-2.x.git vpnmain.cgi: Fix selection of AES-192 as ESP cipher. --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index e29400a1ae..6bae487b59 100755 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -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; }