Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vktg committed Nov 21, 2019
1 parent 7515468 commit e4c1b63
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1607,12 +1607,8 @@ EOD;
// Gets started from freeradiuseapconf.xml
function freeradius_get_ca_or_certs($type) {
$c_arr = array();
if ($type == 'ca') {
$ecdsagood = cert_build_list('ca', 'IPsec');
} else {
$ecdsagood = cert_build_list('cert', 'IPsec');
$c_arr[] = array('refid' => 'none', 'descr' => 'none (auto)');
}
$c_arr[] = array('refid' => 'none', 'descr' => 'none (auto)');
$ecdsagood = cert_build_list($type, 'IPsec');
foreach ($ecdsagood as $refid => $descr) {
$c_arr[] = array('refid' => $refid, 'descr' => $descr);
}
Expand Down

0 comments on commit e4c1b63

Please sign in to comment.