diff options
author | Benny Baumann <BenBE@geshi.org> | 2014-11-23 15:02:56 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2014-11-23 15:02:56 +0100 |
commit | 0bae20ba9f726c964eaee62a3b41c2da65bb8f0b (patch) | |
tree | f8d6b2f1f08845c98fea516d4005394fae9f3397 /pages/account | |
parent | 7d6bbbd7c52dab0393d2abe64839f00c69390c75 (diff) | |
parent | c2cc1c5e3f8f4b7ec9b786cffbb6f8ec68fcefc9 (diff) | |
download | cacert-devel-0bae20ba9f726c964eaee62a3b41c2da65bb8f0b.tar.gz cacert-devel-0bae20ba9f726c964eaee62a3b41c2da65bb8f0b.tar.xz cacert-devel-0bae20ba9f726c964eaee62a3b41c2da65bb8f0b.zip |
Merge branch 'bug-1273' into release
Diffstat (limited to 'pages/account')
-rw-r--r-- | pages/account/15.php | 2 | ||||
-rw-r--r-- | pages/account/19.php | 2 | ||||
-rw-r--r-- | pages/account/23.php | 2 | ||||
-rw-r--r-- | pages/account/6.php | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/pages/account/15.php b/pages/account/15.php index 6cd3115..405cb44 100644 --- a/pages/account/15.php +++ b/pages/account/15.php @@ -30,7 +30,7 @@ } $row = mysql_fetch_assoc($res); $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname"); ?> <h3><?=_("Below is your Server Certificate")?></h3> <pre> diff --git a/pages/account/19.php b/pages/account/19.php index 6a2749c..959111f 100644 --- a/pages/account/19.php +++ b/pages/account/19.php @@ -31,7 +31,7 @@ } $row = mysql_fetch_assoc($res); $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname"); if($row['keytype'] == "NS") { diff --git a/pages/account/23.php b/pages/account/23.php index 4ec56c3..4255b47 100644 --- a/pages/account/23.php +++ b/pages/account/23.php @@ -30,7 +30,7 @@ } $row = mysql_fetch_assoc($res); $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname"); ?> <h3><?=_("Below is your Server Certificate")?></h3> <pre> diff --git a/pages/account/6.php b/pages/account/6.php index 305fccb..de8d1a3 100644 --- a/pages/account/6.php +++ b/pages/account/6.php @@ -60,7 +60,7 @@ if (array_key_exists('format', $_REQUEST)) { } $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname $outform`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname $outform"); header("Content-Type: application/pkix-cert"); header("Content-Length: ".strlen($cert)); @@ -82,7 +82,7 @@ if (array_key_exists('format', $_REQUEST)) { } else { // All other browsers $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname -outform DER`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname -outform DER"); header("Content-Type: application/x-x509-user-cert"); header("Content-Length: ".strlen($cert)); @@ -111,7 +111,7 @@ if (array_key_exists('format', $_REQUEST)) { // Allow to directly copy and paste the cert in PEM format $crtname=escapeshellarg($row['crt_name']); - $cert = `/usr/bin/openssl x509 -in $crtname -outform PEM`; + $cert = shell_exec("/usr/bin/openssl x509 -in $crtname -outform PEM"); echo "<pre>$cert</pre>"; ?> |