PORT_Assert(sigd); if (!sigd) { PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); return SECFailure; }
NSS_CMSSignedData_Decode_AfterEnd(NSSCMSSignedData *sigd){    NSSCMSSignerInfo **signerinfos;    int i;    /* set cmsg for all the signerinfos */    signerinfos = sigd->signerInfos;    /* set cmsg for all the signerinfos */    if (signerinfos) {	for (i = 0; signerinfos[i] != NULL; i++)	    signerinfos[i]->cmsg = sigd->cmsg;    }    return SECSuccess;}