summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-02-10 21:10:56 -0500
committerjim-p <jimp@pfsense.org>2013-02-10 21:10:56 -0500
commit84197cec187356cbde69fa1b17a421a44cad87b7 (patch)
tree8fa27cb18c1a458205c3da2da8c5e9a7e38bea03 /usr
parent3289b42b5320b19ab746c04494a2bdd8322bbbe1 (diff)
downloadpfsense-84197cec187356cbde69fa1b17a421a44cad87b7.zip
pfsense-84197cec187356cbde69fa1b17a421a44cad87b7.tar.gz
Apparently some systems don't like pulling this in globally, but it should work if defined locally like the other similar lists.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_camanager.php2
-rw-r--r--usr/local/www/system_certmanager.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php
index e059c73..3c97725 100644
--- a/usr/local/www/system_camanager.php
+++ b/usr/local/www/system_camanager.php
@@ -46,7 +46,7 @@ $ca_methods = array(
"intermediate" => gettext("Create an intermediate Certificate Authority"));
$ca_keylens = array( "512", "1024", "2048", "4096");
-global $openssl_digest_algs;
+$openssl_digest_algs = array("sha1", "sha224", "sha256", "sha384", "sha512");
$pgtitle = array(gettext("System"), gettext("Certificate Authority Manager"));
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index 9e1c7ea..b120015 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -52,7 +52,7 @@ $cert_types = array( "ca" => "Certificate Authority",
"user" => "User Certificate");
$altname_types = array("DNS", "IP", "email", "URI");
-global $openssl_digest_algs;
+$openssl_digest_algs = array("sha1", "sha224", "sha256", "sha384", "sha512");
$pgtitle = array(gettext("System"), gettext("Certificate Manager"));
OpenPOWER on IntegriCloud