if (DER_TimeToUTCTime(&stime, t) != SECSuccess)
if (CERT_EncodeTimeChoice(NULL, &stime, t) != SECSuccess)
NSS_CMSSignerInfo_AddSigningTime(NSSCMSSignerInfo *signerinfo, PRTime t){    NSSCMSAttribute *attr;    SECItem stime;    void *mark;    PLArenaPool *poolp;    poolp = signerinfo->cmsg->poolp;    mark = PORT_ArenaMark(poolp);    /* create new signing time attribute */    if (DER_TimeToUTCTime(&stime, t) != SECSuccess)	goto loser;    if ((attr = NSS_CMSAttribute_Create(poolp, SEC_OID_PKCS9_SIGNING_TIME, &stime, PR_FALSE)) == NULL) {	SECITEM_FreeItem (&stime, PR_FALSE);	goto loser;    }    SECITEM_FreeItem (&stime, PR_FALSE);    if (NSS_CMSSignerInfo_AddAuthAttr(signerinfo, attr) != SECSuccess)	goto loser;    PORT_ArenaUnmark (poolp, mark);    return SECSuccess;loser:    PORT_ArenaRelease (poolp, mark);    return SECFailure;}