hat we received from the call to <a href="../man3/SSL_read_ex.html">SSL_read_ex(3)</a>. So this scenario should never happen in practice. We just treat it as an error in this example.</p>

<h2 id="Final-clean-up">Final clean up</h2>

<p>Before the application exits we have to clean up some memory that we allocated. If we are exiting due to an error we might also want to display further information about that error if it is available to the user:</p>

<pre><code>   /* Success! */
   res = EXIT_SUCCESS;
end:
