summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBruno Thomsen <bruno.thomsen@gmail.com>2015-05-13 18:50:53 +0200
committerBruno Thomsen <bruno.thomsen@gmail.com>2015-05-13 18:50:53 +0200
commit0d102fcdf99a399259a5f16b7ba0b983420ac4ed (patch)
tree00d805514b625cda2a887ddad7b21fbb82a3a624 /etc
parentb8e6729f245ebe84b036321fb4f37c5bd6826e2c (diff)
downloadpfsense-0d102fcdf99a399259a5f16b7ba0b983420ac4ed.zip
pfsense-0d102fcdf99a399259a5f16b7ba0b983420ac4ed.tar.gz
ipsec: added ecc brainpool to vpn_ipsec_convert_to_modp()
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index d4aea62..ebbf9b0 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -100,6 +100,15 @@ function vpn_ipsec_convert_to_modp($index)
case '21':
$convertion = "ecp521";
break;
+ case '28':
+ $convertion = "ecp256bp";
+ break;
+ case '29':
+ $convertion = "ecp384bp";
+ break;
+ case '30':
+ $convertion = "ecp512bp";
+ break;
}
return $convertion;
OpenPOWER on IntegriCloud