From: <ope...@li...> - 2002-08-30 07:34:56
|
Update of /cvsroot/openca/openca-0.9/src/common/lib/functions In directory usw-pr-cvs1:/tmp/cvs-serv28082 Modified Files: crypto-utils.lib Log Message: fixed bug for the direct issuing of certificates from renewed requests Index: crypto-utils.lib =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/common/lib/functions/crypto-utils.lib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** crypto-utils.lib 14 Aug 2002 13:50:59 -0000 1.2 --- crypto-utils.lib 30 Aug 2002 07:34:52 -0000 1.3 *************** *** 1054,1062 **** if( not $db->updateStatus( OBJECT=>$req, DATATYPE=>"APPROVED_REQUEST", ! NEWTYPE=>"ARCHIVED_REQUEST" ) ) { ! ## perhaps a pending_request which was directly used to issue a cert? ! if( not $db->updateStatus( OBJECT=>$req, ! DATATYPE=>"PENDING_REQUEST", ! NEWTYPE=>"ARCHIVED_REQUEST" ) ) { $errno = 6783; $errval = "Error while storing req to archived requests!\n". --- 1054,1065 ---- if( not $db->updateStatus( OBJECT=>$req, DATATYPE=>"APPROVED_REQUEST", ! NEWTYPE=>"ARCHIVED_REQUEST" ) and ! not $db->updateStatus( OBJECT=>$req, ! DATATYPE=>"PENDING_REQUEST", ! NEWTYPE=>"ARCHIVED_REQUEST" ) and ! not $db->updateStatus( OBJECT=>$req, ! DATATYPE=>"RENEW_REQUEST", ! NEWTYPE=>"ARCHIVED_REQUEST" ) ! ) { $errno = 6783; $errval = "Error while storing req to archived requests!\n". *************** *** 1064,1068 **** $db->errno()." (".$db->errval().")."; return undef; - } } --- 1067,1070 ---- |