mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add in DH 32, a patch for strongSwan will be in soon to test with. Issue #9531
This commit is contained in:
parent
4fc267484e
commit
3f45cc99ff
@ -165,6 +165,7 @@ $p1_dhgroups = array(
|
||||
29 => '29 (brainpool ecp384)',
|
||||
30 => '30 (brainpool ecp512)',
|
||||
31 => '31 (Elliptic Curve 25519, 256 bit)',
|
||||
32 => '32 (Elliptic Curve 25519, 448 bit)',
|
||||
);
|
||||
|
||||
global $p2_halgos;
|
||||
@ -230,6 +231,7 @@ $p2_pfskeygroups = array(
|
||||
29 => gettext('29 (brainpool ecp384)'),
|
||||
30 => gettext('30 (brainpool ecp512)'),
|
||||
31 => gettext('31 (Elliptic Curve 25519, 256 bit)'),
|
||||
32 => gettext('32 (Elliptic Curve 25519, 448 bit)'),
|
||||
);
|
||||
|
||||
function ipsec_enabled() {
|
||||
|
||||
@ -117,6 +117,9 @@ function vpn_ipsec_convert_to_modp($index) {
|
||||
case '31':
|
||||
$conversion = "curve25519";
|
||||
break;
|
||||
case '32':
|
||||
$conversion = "curve448";
|
||||
break;
|
||||
}
|
||||
|
||||
return $conversion;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user