STACK *v2i_GENERAL_NAMES(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval)
STACK_OF(GENERAL_NAME) *v2i_GENERAL_NAMES(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval)
STACK *v2i_GENERAL_NAMES(X509V3_EXT_METHOD *method, X509V3_CTX *ctx,	     STACK *nval){	GENERAL_NAME *gen;	STACK *gens = NULL;	CONF_VALUE *cnf;	int i;	if(!(gens = sk_new(NULL))) {		X509V3err(X509V3_F_V2I_GENERAL_NAMES,ERR_R_MALLOC_FAILURE);		return NULL;	}	for(i = 0; i < sk_num(nval); i++) {		cnf = (CONF_VALUE *)sk_value(nval, i);		if(!(gen = v2i_GENERAL_NAME(method, ctx, cnf))) goto err; 		sk_push(gens, (char *)gen);	}	return gens;	err:	sk_pop_free(gens, GENERAL_NAME_free);	return NULL;}