viously associated with a BN_GENCB structure.</p>

<p>Callback functions should return 1 on success or 0 on error.</p>

<p>The error codes can be obtained by <a href="../man3/ERR_get_error.html">ERR_get_error(3)</a>.</p>

<h1 id="REMOVED-FUNCTIONALITY">REMOVED FUNCTIONALITY</h1>

<p>As of OpenSSL 1.1.0 it is no longer possible to create a BN_GENCB structure directly, as in:</p>

<pre><code> BN_GENCB callback;</code></pre>

<p>Instead applications should create a BN_GENCB structure using BN_GENCB_new:</p>

<