vpnmain.cgi: Fix prefix for elliptic curve algorithms

This commit is contained in:
Michael Tremer
2015-04-28 13:22:00 +02:00
parent a24062d12b
commit 3bcb59ab21

View 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");
}