for (i=0; i < 8; i++) { if ( (0x80 >> i) & NS_Type) { fprintf(out,"%c%s",found?',':'<',nsTypeBits[i]); found = 1; } } if (found) { fprintf(out,">\n"); } else { fprintf(out,"none\n"); } return SECSuccess;
} fprintf(out, (found ? ">\n" : "none\n")); return SECSuccess;
secu_PrintNSCertType(FILE *out, SECItem *value, char *msg, int level) {	char NS_Type=0;	int len, i, found=0;	if (value->data[1] & 0x80) {	    len = 3;	} else {	    len = value->data[1];	}	if ((value->data[0] != SEC_ASN1_BIT_STRING) || (len < 2)) {	    secu_PrintAny(out, value, "Data", level);	    return SECSuccess;	}	NS_Type=value->data[3];		if (msg) {	    SECU_Indent(out, level);	    fprintf(out,"%s: ",msg);	} else {	    SECU_Indent(out, level);	    fprintf(out,"Netscape Certificate Type: ");	}	for (i=0; i < 8; i++) {	    if ( (0x80 >> i) & NS_Type) {		fprintf(out,"%c%s",found?',':'<',nsTypeBits[i]);		found = 1;	    }	}	if (found) { fprintf(out,">\n"); } else { fprintf(out,"none\n"); }	return SECSuccess;}