y have as values are specific to OpenSSL&#39;s libraries. OpenSSL reason codes normally consist of textual error descriptions. For example, the function ssl3_read_bytes() reports a &quot;handshake failure&quot; as follows:</p>

<pre><code>ERR_raise(ERR_LIB_SSL, SSL_R_SSL_HANDSHAKE_FAILURE);</code></pre>

<p>There are two exceptions:</p>

<dl>

<dt id="ERR_LIB_SYS"><b>ERR_LIB_SYS</b></dt>
<dd>

<p>This &quot;library code&quot; indicates that a system error is being reported. In this case, the reason code giv