Add RSA keys even for eap-mschapv2

This commit is contained in:
Ermal LUÇI 2015-01-15 08:45:53 +01:00
parent f579c0fb42
commit bc62f818e9

View File

@ -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'];