ASN1err(ASN1_F_X509_NAME_NEW, ERR_R_MALLOC_FAILURE);
ASN1err(ASN1_F_X509_NAME_EX_NEW, ERR_R_MALLOC_FAILURE);
IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) IMPLEMENT_ASN1_FUNCTIONS(X509_NAME)IMPLEMENT_ASN1_DUP_FUNCTION(X509_NAME)static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it){	X509_NAME *ret = NULL;	ret = OPENSSL_malloc(sizeof(X509_NAME));	if(!ret) goto memerr;	if ((ret->entries=sk_X509_NAME_ENTRY_new_null()) == NULL)		goto memerr;	if((ret->bytes = BUF_MEM_new()) == NULL) goto memerr;	ret->modified=1;	*val = (ASN1_VALUE *)ret;	return 1; memerr:	ASN1err(ASN1_F_X509_NAME_NEW, ERR_R_MALLOC_FAILURE);	if (ret)		{		if (ret->entries)			sk_X509_NAME_ENTRY_free(ret->entries);		OPENSSL_free(ret);		}	return 0;}