[Pkg-openssl-devel] Bug#895959: libnet-ssleay-perl: FTBFS with openssl 1.1.1 in exp

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Wed Apr 18 12:48:48 BST 2018


On 2018-04-18 09:19:28 [+0200], Kurt Roeckx wrote:
> On Wed, Apr 18, 2018 at 12:16:41AM +0200, Sebastian Andrzej Siewior wrote:
> > 
> > The next thing is that step 24 within 07_sslecho.t blocks forever. As it
> > turns out one side does "shutdown $s, 2;" (around line 170) while the
> > other does a read+write operation. In "older" openssl is seems to just
> > work but in the newer one SIGPIPE is received and this seems to
> > stall/block the test case.
> 
> As far as I know "2" means to shut down both the read and write.
correct.

> The other side doing reads and writes seems strange to me.
the other side does not know that. So it tries to write to the socket -
nothing wrong about that. It looks however that libssl behaves
differently and _now_ the SIGPIPE is seen which was not before. 

> Anyway, this might have been a bugfix in OpenSSL, which I think
> how would get fixed in all branches.

Oh. In that case it might end up in 1.0.2 which could supprise people
which did not handle SIGPIPE earlier and now have to. But this piece
only showed up with tls1.3.

> Kurt

Sebastian



More information about the Pkg-openssl-devel mailing list