[openssl-users] socket change with SSL_set_fd
openssl-users at dukhovni.org
Tue Oct 11 06:24:54 UTC 2016
> On Oct 11, 2016, at 1:56 AM, Ales Stibal <astib at mag0.net> wrote:
> Sorry for bumping/reposting, but does have anyone experience with changing SSL object's socket on the background?
> I would appreciate any feedback.
If it is not documented to work, then you can't rely on it working,
even if it happens to work at present. If you need a flexible
interface between the SSL layer and the underlying network, consider
the bio pair approach discussed in a recent thread.
It is true that OpenSSL documentation has not been, and still is not,
as comprehensive as it should be. Nevertheless one should depend only
on documented behaviour. Where it is clear that the documentation
is failing to describe essential features of the API, please file a
documentation issue on Github, or better yet, where the intent is
clear, contribute a documentation patch (pull-request).
More information about the openssl-users