PORT_Assert(sigd); if (!sigd) { PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); return SECFailure; }
NSS_CMSSignedData_Decode_AfterData(NSSCMSSignedData *sigd){    /* did we have digest calculation going on? */    if (sigd->contentInfo.digcx) {	if (NSS_CMSDigestContext_FinishMultiple(sigd->contentInfo.digcx, sigd->cmsg->poolp, &(sigd->digests)) != SECSuccess)	    return SECFailure;	/* error has been set by NSS_CMSDigestContext_FinishMultiple */	sigd->contentInfo.digcx = NULL;    }    return SECSuccess;}