[openssl-users] Missing documentation

Joachim Person joachim.person at gmail.com
Tue Nov 15 10:16:49 UTC 2016


Thanks Frank,

I assume that by "the SSL error handler" you mean that I can get the error
by calling ERR_get_error() ?

BR
Joachim

2016-11-09 0:54 GMT+01:00 Frank Migge <fm at frank4dd.com>:

> Hi Joachim,
>
> >> It seems like the documentation for SSL_set_tlsext_host_name is gone.
> >> Does anyone know where I can find the documentation? I am interested in
> the return values right now.
>
> If I got it right:
>
> 1) ssl/tls1.h (line 334ff): #  define SSL_set_tlsext_host_name(s,name) \
> 334 SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char
> *)name)
>
> 2) https://www.openssl.org/docs/manmaster/man3/SSL_ctrl.html:
> The return values of the SSL*_ctrl() functions depend on the command
> supplied via the *cmd* parameter.
>
> 3) ssl/s3_lib.c (line 3311 ff): case SSL_CTRL_SET_TLSEXT_HOSTNAME:
> returns 1 on success, and 0 on failure which also writes the cause to the
> SSL error handler.
>
> Best wishes
> Frank
> <public at frank4dd.com>
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
>
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161115/8c6618e6/attachment.html>


More information about the openssl-users mailing list