if ( name == NULL) {
if (!name || !name[0]) {
SECU_PrintCertNickname(CERTCertListNode *node, void *data){    CERTCertTrust *trust;    CERTCertificate* cert;    FILE *out;    char trusts[30];    char *name;    cert = node->cert;    PORT_Memset (trusts, 0, sizeof (trusts));    out = (FILE *)data;        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);    return (SECSuccess);}