name = cert->nickname; if ( name == NULL ) { name = cert->emailAddr; } if ( name == NULL ) { name = "(NULL)"; }  trust = cert->trust; if (trust) { printflags(trusts, trust->sslFlags); PORT_Strcat(trusts, ","); printflags(trusts, trust->emailFlags); PORT_Strcat(trusts, ","); printflags(trusts, trust->objectSigningFlags); } else { PORT_Memcpy(trusts,",,",3); } fprintf(out, "%-60s %-5s\n", name, trusts);
name = node->appData; if ( name == NULL) { name = cert->nickname; } if ( name == NULL ) { name = cert->emailAddr; } if ( name == NULL ) { name = "(NULL)"; }  trust = cert->trust; if (trust) { printflags(trusts, trust->sslFlags); PORT_Strcat(trusts, ","); printflags(trusts, trust->emailFlags); PORT_Strcat(trusts, ","); printflags(trusts, trust->objectSigningFlags); } else { PORT_Memcpy(trusts,",,",3); } fprintf(out, "%-60s %-5s\n", name, trusts);
SECU_PrintCertNickname(CERTCertificate *cert, void *data){    CERTCertTrust *trust;    FILE *out;    char trusts[30];    char *name;    PORT_Memset (trusts, 0, sizeof (trusts));    out = (FILE *)data;    	name = cert->nickname;	if ( name == NULL ) {	    name = cert->emailAddr;	}	if ( name == NULL ) {	    name = "(NULL)";	}	        trust = cert->trust;	if (trust) {	    printflags(trusts, trust->sslFlags);	    PORT_Strcat(trusts, ",");	    printflags(trusts, trust->emailFlags);	    PORT_Strcat(trusts, ",");	    printflags(trusts, trust->objectSigningFlags);	} else {	    PORT_Memcpy(trusts,",,",3);	}	fprintf(out, "%-60s %-5s\n", name, trusts);    return (SECSuccess);}