two callbacks. If the dup_func() returns <b>0</b> the whole CRYPTO_dup_ex_data() will fail.</p>

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

<p>CRYPTO_get_ex_new_index() returns a new index or -1 on failure.</p>

<p>CRYPTO_free_ex_index() and CRYPTO_set_ex_data() return 1 on success or 0 on failure.</p>

<p>CRYPTO_get_ex_data() returns the application data or NULL on failure; note that NULL may be a valid value.</p>

<p>dup_func() should return 0 for failure and 1 for success.</p>

<h1 id="COPYRIGHT">COPYRIG