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 2a020ea..9490076 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));