rror to return a value greater than <b>max_psk_len</b>.</p>

<p>If the PSK identity was not found but the callback instructs the protocol to continue anyway, the callback must provide some random data to <b>psk</b> and return the length of the random data, so the connection will fail with decryption_error before it will be finished completely.</p>

</dd>
</dl>

<p>The <b>SSL_psk_find_session_cb_func</b> callback should return 1 on success or 0 on failure. In the event of failure the connection setup fails.<