PORT_Assert(msg != NULL);
if (!msg) return cinfo;
NSS_CMSContent_GetContentInfo(void *msg, SECOidTag type){    NSSCMSContent c;    NSSCMSContentInfo *cinfo;    PORT_Assert(msg != NULL);    c.pointer = msg;    switch (type) {    case SEC_OID_PKCS7_SIGNED_DATA:	cinfo = &(c.signedData->contentInfo);	break;    case SEC_OID_PKCS7_ENVELOPED_DATA:	cinfo = &(c.envelopedData->contentInfo);	break;    case SEC_OID_PKCS7_ENCRYPTED_DATA:	cinfo = &(c.encryptedData->contentInfo);	break;    case SEC_OID_PKCS7_DIGESTED_DATA:	cinfo = &(c.digestedData->contentInfo);	break;    default:	cinfo = NULL;    }    return cinfo;}