From: Michael Tremer Date: Mon, 11 May 2015 10:57:29 +0000 (+0200) Subject: vpnmain.cgi: Do not use an other DH key exchange in ESP X-Git-Tag: v2.17-core91~30^2^2~21 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=5f0a2ba1048850620c0aa44e80e0a58ff36039c3 vpnmain.cgi: Do not use an other DH key exchange in ESP --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 2a020eaddd..94900765f5 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -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));