summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNigel Graham <nigel@maven-group.org>2009-05-26 06:45:04 +0200
committerNigel Graham <nigel@maven-group.org>2009-05-26 06:45:04 +0200
commit023f41803d42877e43241212923b22def948bf9c (patch)
treeb90bb6a8f3b029c1b5145b199744052aa82016b4 /etc
parent801247db0d1ac947b2f6a4f4de14686c8f0b459a (diff)
downloadpfsense-023f41803d42877e43241212923b22def948bf9c.zip
pfsense-023f41803d42877e43241212923b22def948bf9c.tar.gz
Found another bug in ca_chain_array.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/certs.inc2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud