Commit 2999ce9d authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix Notice: Undefined index: caref in /usr/local/etc/inc/certs.inc on line 108

parent cb856c71
......@@ -105,7 +105,7 @@ function ca_chain_array(& $cert) {
$crt = lookup_ca($cert['caref']);
$chain[] = $crt;
while ($crt) {
$caref = $crt['caref'];
$caref = isset($crt['caref']) ? $crt['caref'] : false;
if($caref) {
$crt = lookup_ca($caref);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment