PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
PORT_SetError(SEC_ERROR_INVALID_ARGS);
NSS_CMSSignedData_AddCertList(NSSCMSSignedData *sigd, CERTCertificateList *certlist){    SECStatus rv;    PORT_Assert(sigd);    PORT_Assert(certlist);    if (!sigd || !certlist) {        PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);        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;}