mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
vpnmain.cgi: Fix prefix for elliptic curve algorithms
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user