Re: [openssl-users] socket change with SSL_set_fd

2016-10-11 Thread Salz, Rich
> Sorry for bumping/reposting, but does have anyone experience with > changing SSL object's socket on the background? Is the new socket connected to the exact same process, library, and state on the other side? Then it will probably work (but why) If you're talking about moving the TLS connect

Re: [openssl-users] socket change with SSL_set_fd

2016-10-10 Thread Viktor Dukhovni
> On Oct 11, 2016, at 1:56 AM, Ales Stibal 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

Re: [openssl-users] socket change with SSL_set_fd

2016-10-10 Thread Ales Stibal
Sorry for bumping/reposting, but does have anyone experience with changing SSL object's socket on the background? I would appreciate any feedback. Thanks, Ales On 7.10.2016 11:05, Ales Stibal wrote: Hi folks, I have a small, but important question which affects my project design. May I chang

[openssl-users] socket change with SSL_set_fd

2016-10-07 Thread Ales Stibal
Hi folks, I have a small, but important question which affects my project design. May I change underlying socket for SSL with SSL_set_fd when socket was already set and used before? I believe it should not be problem, since in theory it's just the transport channel for OpenSSL where to write,