diff --git a/includes/account.php b/includes/account.php index edc5733..477f8f4 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1543,7 +1543,7 @@ if($process != "" && $oldid == 20) { - $CSR = trim($CSR); + $CSR = trim($_REQUEST['CSR']); $_SESSION['_config']['tmpfname'] = tempnam("/tmp", "FOO"); $fp = fopen($_SESSION['_config']['tmpfname'], "w"); fputs($fp, $CSR); diff --git a/includes/general.php b/includes/general.php index 4f509d5..ebe411c 100644 --- a/includes/general.php +++ b/includes/general.php @@ -452,6 +452,8 @@ function getcn2() { + $rows=array(); + $rowid=array(); for($cnc = 0; $cnc < $_SESSION['_config']['cnc']; $cnc++) { $CN = $_SESSION['_config']["$cnc.CN"]; @@ -493,6 +495,8 @@ function getalt2() { + $altrows=array(); + $altid=array(); for($altc = 0; $altc < $_SESSION['_config']['subaltc']; $altc++) { $subalt = $_SESSION['_config']["$altc.subjectAltName"];