case GEN_DIRNAME: X509_NAME_oneline(gen->d.dirn, oline, 256); X509V3_add_value("DirName",oline, &ret); break;
static STACK *i2v_GENERAL_NAMES(method, gens)X509V3_EXT_METHOD *method;STACK *gens;{	int i;	STACK *ret = NULL;	GENERAL_NAME *gen;	for(i = 0; i < sk_num(gens); i++) {		gen = (GENERAL_NAME *)sk_value(gens, i);		switch (gen->type)		{                case GEN_OTHERNAME:		X509V3_add_value("othername","<unsupported>", &ret);		break;                case GEN_X400:		X509V3_add_value("X400Name","<unsupported>", &ret);		break;                case GEN_EDIPARTY:		X509V3_add_value("EdiPartyName","<unsupported>", &ret);                break;                case GEN_EMAIL:		X509V3_add_value("email",gen->d.ia5->data, &ret);		break;                case GEN_DNS:		X509V3_add_value("DNS",gen->d.ia5->data, &ret);		break;                case GEN_URI:		X509V3_add_value("URI",gen->d.ia5->data, &ret);                break;                case GEN_IPADD:		X509V3_add_value("IP Address","<unsupported>", &ret);                break;                case GEN_RID:		X509V3_add_value("Registered ID","<unsupported>", &ret);                break;		}	}	return ret;}