stack, and errno was 0. Since OpenSSL 3.0 the returned error is <b>SSL_ERROR_SSL</b> with a meaningful error on the error stack (SSL_R_UNEXPECTED_EOF_WHILE_READING). This error reason code may be used for control flow decisions (see the man page for <a href="../man3/ERR_GET_REASON.html">ERR_GET_REASON(3)</a> for further details on this).</p>

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

<p>The following return values can currently occur:</p>

<dl>

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

<p>The TLS/