From: Michael Tremer Date: Tue, 28 Apr 2015 11:22:00 +0000 (+0200) Subject: vpnmain.cgi: Fix prefix for elliptic curve algorithms X-Git-Tag: v2.17-core91~90^2~1 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=3bcb59ab211cec80576e8e0c1202364e3001defc;hp=a24062d12bf6e8623f2316d6fbb0551ce553f0b5 vpnmain.cgi: Fix prefix for elliptic curve algorithms --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 381974902e..1d75356406 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -3030,8 +3030,8 @@ sub make_algos($$$$$) { push(@algo, $int); } - if ($grp =~ m/^e\d+/) { - push(@algo, $grp); + if ($grp =~ m/^e(\d+)/) { + push(@algo, "ecp$1"); } else { push(@algo, "modp$grp"); }