From f522b17554b66a84619b55321300b5de347b890b Mon Sep 17 00:00:00 2001 From: Philipp Dunkel Date: Fri, 22 May 2009 05:09:24 +0000 Subject: [PATCH] Improved server certificate renewal. Another bug is still there. --- includes/account.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/account.php b/includes/account.php index 88fede5..ac39905 100644 --- a/includes/account.php +++ b/includes/account.php @@ -770,7 +770,9 @@ //`csr_name`='".$row['csr_name']."', // RACE CONDITION "`created`='".$row['created']."', `modified`=NOW(), - `rootcert`='".$row['rootcert']."'"; + `rootcert`='".$row['rootcert']."', + `type`='".$row['type']."', + `pkhash`='".$row['pkhash']."'"; mysql_query($query); $newid = mysql_insert_id(); $newfile = $_SESSION['_config']['filepath']."/csr/server-$newid.csr";