es, an alert appears, or an error occurs.</p>

<p>The callback function is called as <b>callback(SSL *ssl, int where, int ret)</b>. The <b>where</b> argument specifies information about where (in which context) the callback function was called. If <b>ret</b> is 0, an error condition occurred. If an alert is handled, SSL_CB_ALERT is set and <b>ret</b> specifies the alert information.</p>

<p><b>where</b> is a bit-mask made up of the following bits:</p>

<dl>

<dt id="SSL_CB_LOOP">SSL_CB_LOOP</dt>
<dd>

<p>Ca