Fixed a hole

Added OCSP renewal support
pull/1/head
root 16 years ago
parent 78b025d4a9
commit c7e24e56f7

@ -1678,7 +1678,7 @@
$csrsubject .= "/subjectAltName=".$SAN;
$type="";
if($_REQUEST["ocspcert"]!="") $type="8";
if($_REQUEST["ocspcert"]!="" && $_SESSION['profile']['admin'] == 1) $type="8";
if($_SESSION['_config']['rowid']['0'] > 0)
{
@ -1761,6 +1761,7 @@
`created`='".$row['created']."',
`modified`=NOW(),
`subject`='".$row['subject']."',
`type`='".$row['type']."',
`rootcert`='".$row['rootcert']."'";
mysql_query($query);
$newid = mysql_insert_id();

Loading…
Cancel
Save