vpnmain.cgi: Fix prefix for elliptic curve algorithms
[ipfire-2.x.git] / html / cgi-bin / vpnmain.cgi
index 3819749..1d75356 100644 (file)
@@ -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");
                                        }