used <b>set</b> typically will be zero.</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>X509_NAME_add_entry_by_txt(), X509_NAME_add_entry_by_OBJ(), X509_NAME_add_entry_by_NID() and X509_NAME_add_entry() return 1 for success of 0 if an error occurred.</p>

<p>X509_NAME_delete_entry() returns either the deleted <b>X509_NAME_ENTRY</b> structure or <b>NULL</b> if an error occurred.</p>

<h1 id="EXAMPLES">EXAMPLES</h1>

<p>Create an <b>X509_NAME</b> structure:</p>

<p>&quot;C=UK, O=Disorganized Organization, 