PORT_Assert(certlist != NULL);  if (certlist == NULL) return SECFailure;
PORT_Assert(sigd); PORT_Assert(certlist); if (!sigd || !certlist) { PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); return SECFailure; }
NSS_CMSSignedData_AddCertList(NSSCMSSignedData *sigd, CERTCertificateList *certlist){    SECStatus rv;    PORT_Assert(certlist != NULL);    if (certlist == NULL)	return SECFailure;    /* XXX memory?? a certlist has an arena of its own and is not refcounted!?!? */    rv = NSS_CMSArray_Add(sigd->cmsg->poolp, (void ***)&(sigd->certLists), (void *)certlist);    return rv;}