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