nssDecodedCert *dc; CERTCertificate *cc; if (!c->decoding) { dc = nssDecodedPKIXCertificate_Create(NULL, &c->encoding); if (!dc) return NULL; c->decoding = dc; } else { dc = c->decoding; } cc = (CERTCertificate *)dc->data; if (cc) { if (!cc->nssCertificate) { fill_CERTCertificateFields(c, cc); } else if (!cc->trust && !c->object.cryptoContext) {  cc->trust = nssTrust_GetCERTCertTrustForCert(c, cc); } } return cc;
return stan_GetCERTCertificate(c, PR_FALSE);
STAN_GetCERTCertificate(NSSCertificate *c){    nssDecodedCert *dc;    CERTCertificate *cc;    if (!c->decoding) {	dc = nssDecodedPKIXCertificate_Create(NULL, &c->encoding);	if (!dc) return NULL;	c->decoding = dc;    } else {	dc = c->decoding;    }    cc = (CERTCertificate *)dc->data;    if (cc) {	if (!cc->nssCertificate) {	    fill_CERTCertificateFields(c, cc);	} else if (!cc->trust && !c->object.cryptoContext) {	    /* if it's a perm cert, it might have been stored before the	     * trust, so look for the trust again.  But a temp cert can be	     * ignored.	     */	    cc->trust = nssTrust_GetCERTCertTrustForCert(c, cc);	}    }    return cc;}