summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-02-12 23:30:22 +0100
committerMichael Tänzer <neo@nhng.de>2013-02-12 23:30:22 +0100
commitfc14edae064d7726e08838ad1bfb163f24463265 (patch)
tree3c81df51bb7267f0247466275d0f7f37bf661388
parent98ea3e62e5f9bd1aee63ec8922c7b8dfd58dbdd8 (diff)
downloadcacert-devel-fc14edae064d7726e08838ad1bfb163f24463265.tar.gz
cacert-devel-fc14edae064d7726e08838ad1bfb163f24463265.tar.xz
cacert-devel-fc14edae064d7726e08838ad1bfb163f24463265.zip
bug 1017: If the certificate was signed by the class3, include the subroot
when installing Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--pages/account/6.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/account/6.php b/pages/account/6.php
index 90affac..596aa38 100644
--- a/pages/account/6.php
+++ b/pages/account/6.php
@@ -79,6 +79,9 @@ if (array_key_exists('format', $_REQUEST)) {
header("Content-Disposition: inline; filename=\"${fname}.cer\"");
echo $cert;
+ if ($row['rootcert'] === 2) {
+ readfile(dirname(__FILE__).'/../../www/certs/class3.der');
+ }
exit;
}
} else {