]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
vpnmain.cgi: Do not use an other DH key exchange in ESP
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 May 2015 10:57:29 +0000 (12:57 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 11 May 2015 10:57:29 +0000 (12:57 +0200)
html/cgi-bin/vpnmain.cgi

index 2a020eaddd84060688898b4f66ede388726f2028..94900765f523107efed7327e88e0491c87716436 100644 (file)
@@ -3029,12 +3029,6 @@ sub make_algos($$$$$) {
                                        if (!$is_aead) {
                                                push(@algo, $int);
                                        }
-
-                                       if ($grp =~ m/^e(.*)$/) {
-                                               push(@algo, "ecp$1");
-                                       } else {
-                                               push(@algo, "modp$grp");
-                                       }
                                }
 
                                push(@algos, join("-", @algo));