summaryrefslogtreecommitdiffstats
path: root/etc/inc/certs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/certs.inc')
-rw-r--r--etc/inc/certs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc
index 7d19045..cc61d9b 100644
--- a/etc/inc/certs.inc
+++ b/etc/inc/certs.inc
@@ -90,12 +90,12 @@ function & lookup_crl($refid) {
function ca_chain_array(& $cert) {
if($cert['caref']) {
$chain = array();
- $crt =& lookup_ca($cert['caref']);
+ $crt = lookup_ca($cert['caref']);
$chain[] = $crt;
while ($crt) {
$caref = $crt['caref'];
if($caref)
- $crt =& lookup_ca($caref);
+ $crt = lookup_ca($caref);
else
$crt = false;
if($crt)
OpenPOWER on IntegriCloud