From 502db3ab8d94fda2c943747fc29c82932e09ab68 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 27 Dec 2017 11:24:56 +0100 Subject: [PATCH] system: cleanup for #2007 --- src/www/system_crlmanager.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/www/system_crlmanager.php b/src/www/system_crlmanager.php index 3b53f92ed..62bf0ab0a 100644 --- a/src/www/system_crlmanager.php +++ b/src/www/system_crlmanager.php @@ -55,16 +55,14 @@ function cert_unrevoke($cert, &$crl) return false; } -// openssl_crl_status messages from certs.inc -global $openssl_crl_status; - // prepare config types $a_crl = &config_read_array('crl'); $a_cert = &config_read_array('cert'); $a_ca = &config_read_array('ca'); $thiscrl = false; -$act=null; +$act = null; + if ($_SERVER['REQUEST_METHOD'] === 'GET') { // locate cert by refid, returns false when not found if (isset($_GET['id'])) {