summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-15 08:45:53 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-15 08:45:53 +0100
commit07d0d1b23ff415c7df3330523d19c552dd40c7b8 (patch)
tree080ff42e55896542841cb0c1afa2b4ca4dd0317d /etc
parent37656b10150bb59d569560f056fce42e47389870 (diff)
downloadpfsense-07d0d1b23ff415c7df3330523d19c552dd40c7b8.zip
pfsense-07d0d1b23ff415c7df3330523d19c552dd40c7b8.tar.gz
Add RSA keys even for eap-mschapv2
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 61e338d..0b8dfc1 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -452,7 +452,8 @@ EOD;
if (isset($ph1ent['disabled']))
continue;
- if (strstr($ph1ent['authentication_method'], 'rsa') || $ph1ent['authentication_method'] == 'eap-tls') {
+ if (strstr($ph1ent['authentication_method'], 'rsa') ||
+ in_array($ph1ent['authentication_method'], array('eap-mschapv2', 'eap-tls'))) {
$certline = '';
$ikeid = $ph1ent['ikeid'];
OpenPOWER on IntegriCloud