From 023f41803d42877e43241212923b22def948bf9c Mon Sep 17 00:00:00 2001 From: Nigel Graham Date: Tue, 26 May 2009 06:45:04 +0200 Subject: Found another bug in ca_chain_array. --- etc/inc/certs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/certs.inc') diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc index 0e2341c..936fc0a 100644 --- a/etc/inc/certs.inc +++ b/etc/inc/certs.inc @@ -71,7 +71,7 @@ function ca_chain_array(& $cert) { $chain = array(); $crt =& lookup_ca($cert['caref']); $chain[] = $crt; - while ($cert) { + while ($crt) { $caref = $crt['caref']; if($caref) $crt =& lookup_ca($caref); -- cgit v1.1