<div dir="ltr"><div><div><div>Thanks Frank,<br><br></div>I assume that by "the SSL error handler" you mean that I can get the error by calling ERR_get_error() ?<br><br></div>BR<br></div>Joachim<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-09 0:54 GMT+01:00 Frank Migge <span dir="ltr"><<a href="mailto:fm@frank4dd.com" target="_blank">fm@frank4dd.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div text="#000000" bgcolor="#FFFFFF">Hi Joachim,<span class=""><br>
<br>
>> It seems like the documentation for SSL_set_tlsext_host_name is
 gone.<br>
<span></span> >> Does anyone know where I can find the 
documentation? I am interested in the return values right now.<br>
<br></span>
If I got it right:<br>
<br>
1) ssl/tls1.h (line 334ff): #  define SSL_set_tlsext_host_name(s,<wbr>name) \<br>
334 
SSL_ctrl(s,SSL_CTRL_SET_<wbr>TLSEXT_HOSTNAME,TLSEXT_<wbr>NAMETYPE_host_name,(char 
*)name)<br>
<br>
2) <a class="m_-7272941190014431819moz-txt-link-freetext" href="https://www.openssl.org/docs/manmaster/man3/SSL_ctrl.html:" target="_blank">https://www.openssl.org/docs/<wbr>manmaster/man3/SSL_ctrl.html:</a><br>
The return values of the SSL*_ctrl() functions depend on the command 
supplied via the <b>cmd</b> parameter.<br>
<br>
3) ssl/s3_lib.c (line 3311 ff): case SSL_CTRL_SET_TLSEXT_HOSTNAME:<br>
returns 1 on success, and 0 on failure which also writes the cause to 
the SSL error handler. <br>
<br>
Best wishes<span class="HOEnZb"><font color="#888888"><br>
<div class="m_-7272941190014431819moz-signature">Frank<br>
<div>
</div><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><a style="text-decoration:underline;color:rgb(28,100,140)" class="m_-7272941190014431819__postbox-detected-content m_-7272941190014431819__postbox-detected-email" href="mailto:public@frank4dd.com" target="_blank"></a></span><a href="https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach" target="_blank"><span style="color:rgb(51,102,153)"></span></a>


</div>
</font></span></div>
<br>--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
<br></blockquote></div><br></div>