]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
vpnmain.cgi: Fix selection of AES-192 as ESP cipher.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Jan 2013 14:57:29 +0000 (15:57 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Jan 2013 14:57:29 +0000 (15:57 +0100)
html/cgi-bin/vpnmain.cgi

index e29400a1aef7ce5bd9270c24d60e6a3af45e6419..6bae487b59ab885db15b75ec3f47ab864a944379 100755 (executable)
@@ -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;
            }