mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Some CRL fixes.
This commit is contained in:
parent
fa15f4ae52
commit
304af9d8ef
@ -214,16 +214,18 @@ if ($_POST) {
|
||||
if (!$input_errors) {
|
||||
$result = false;
|
||||
|
||||
$crl = array();
|
||||
$crl['refid'] = uniqid();
|
||||
if ($thiscrl)
|
||||
if ($thiscrl) {
|
||||
$crl =& $thiscrl;
|
||||
} else {
|
||||
$crl = array();
|
||||
$crl['refid'] = uniqid();
|
||||
}
|
||||
|
||||
$crl['descr'] = $pconfig['descr'];
|
||||
$crl['caref'] = $pconfig['caref'];
|
||||
|
||||
if ($pconfig['method'] == "existing") {
|
||||
$crl['text'] == base64_encode($pconfig['crltext']);
|
||||
$crl['text'] = base64_encode($pconfig['crltext']);
|
||||
}
|
||||
|
||||
if ($pconfig['method'] == "internal") {
|
||||
@ -235,7 +237,7 @@ if ($_POST) {
|
||||
if (!$thiscrl)
|
||||
$a_crl[] = $crl;
|
||||
|
||||
write_config("Saved CRL {$crl['caref']}");
|
||||
write_config("Saved CRL {$crl['descr']}");
|
||||
|
||||
pfSenseHeader("system_crlmanager.php");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user