Revision d1f5587d
Added by Jim Pingle over 5 years ago
src/etc/inc/certs.inc | ||
---|---|---|
1776 | 1776 |
* needs a bump. */ |
1777 | 1777 |
init_config_arr(array('ipsec', 'phase1')); |
1778 | 1778 |
foreach ($config['ipsec']['phase1'] as $ipsec) { |
1779 |
if (($ipsec['authentication_method'] == 'rsasig') &&
|
|
1779 |
if (($ipsec['authentication_method'] == 'cert') &&
|
|
1780 | 1780 |
($ipsec['certref'] == $refid)) { |
1781 | 1781 |
$services['services'][] = array('name' => 'ipsec'); |
1782 | 1782 |
/* Stop after finding one, no need to search for more. */ |
... | ... | |
1858 | 1858 |
} |
1859 | 1859 |
} |
1860 | 1860 |
foreach ($config['ipsec']['phase1'] as $ipsec) { |
1861 |
if (($ipsec['authentication_method'] == 'rsasig') &&
|
|
1861 |
if (($ipsec['authentication_method'] == 'cert') &&
|
|
1862 | 1862 |
($ipsec['caref'] == $refid)) { |
1863 | 1863 |
$services['services'][] = array('name' => 'ipsec'); |
1864 | 1864 |
break; |
Also available in: Unified diff
Rename IPsec "RSA" options to "Certificate". Implements #9903