 and we&#39;re waiting
     * for one back&quot;. But we already know we got one from the peer
     * because of the SSL_ERROR_ZERO_RETURN above.
     */
    printf(&quot;Error shutting down\n&quot;);
    goto end;
}</code></pre>

<p>The <a href="../man3/SSL_shutdown.html">SSL_shutdown(3)</a> function will either return 1, 0, or less than 0. A return value of 1 is a success, and a return value less than 0 is an error. More precisely a return value of 1 means that we have sent a &quot;close_notify&quot; aler