Add in DH 32, a patch for strongSwan will be in soon to test with. Issue #9531

This commit is contained in:
jim-p 2019-05-17 11:44:55 -04:00
parent 4fc267484e
commit 3f45cc99ff
2 changed files with 5 additions and 0 deletions

View File

@ -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() {

View File

@ -117,6 +117,9 @@ function vpn_ipsec_convert_to_modp($index) {
case '31':
$conversion = "curve25519";
break;
case '32':
$conversion = "curve448";
break;
}
return $conversion;