X509V3err(X509V3_F_V2I_EXT_KU,ERR_R_MALLOC_FAILURE);
X509V3err(X509V3_F_V2I_EXTENDED_KEY_USAGE,ERR_R_MALLOC_FAILURE);
static void *v2i_EXTENDED_KEY_USAGE(X509V3_EXT_METHOD *method,				X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval){	EXTENDED_KEY_USAGE *extku;	char *extval;	ASN1_OBJECT *objtmp;	CONF_VALUE *val;	int i;	if(!(extku = sk_ASN1_OBJECT_new_null())) {		X509V3err(X509V3_F_V2I_EXT_KU,ERR_R_MALLOC_FAILURE);		return NULL;	}	for(i = 0; i < sk_CONF_VALUE_num(nval); i++) {		val = sk_CONF_VALUE_value(nval, i);		if(val->value) extval = val->value;		else extval = val->name;		if(!(objtmp = OBJ_txt2obj(extval, 0))) {			sk_ASN1_OBJECT_pop_free(extku, ASN1_OBJECT_free);			X509V3err(X509V3_F_V2I_EXT_KU,X509V3_R_INVALID_OBJECT_IDENTIFIER);			X509V3_conf_err(val);			return NULL;		}		sk_ASN1_OBJECT_push(extku, objtmp);	}	return extku;}