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

<p>The following return values can occur for SSL_CTX_set_ssl_version() and SSL_set_ssl_method():</p>

<dl>

<dt id="pod0">0</dt>
<dd>

<p>The new choice failed, check the error stack to find out the reason.</p>

</dd>
<dt id="pod1">1</dt>
<dd>

<p>The operation succeeded.</p>

</dd>
</dl>

<h1 id="SEE-ALSO">SEE ALSO</h1>

<p><a href="../man3/SSL_CTX_new.html">SSL_CTX_new(3)</a>, <a href="../man3/SSL_new.html">SSL_new(3)</a>, <a href="../man3/SSL_clear.html">SSL_clear(