Thanks!!

Quoting Alexander Bluhm <[email protected]>:

On Wed, Dec 12, 2018 at 05:40:44PM +0100, [email protected] wrote:
Thank you very much!
Certainly $SIG{__DIE__} = sub {warn @_} makes the difference.
Even you helped me already, if you could give me a clue to investigate
further the
interference of $SIG{__DIE__} = ...

/usr/local/libdata/perl5/site_perl/IO/Socket/SSL.pm line 104
    and my $tls13 = eval { Net::SSLeay::TLS1_3_VERSION() }

IO::Socket::SSL detects TLS 1.3 support.

Net::SSLeay::TLS1_3_VERSION() dies, but it is catched with an eval.
This does not work well together with $SIG{__DIE__}.

Either complain at IO::Socket::SSL maintainer or at whoever put the
die handler into your program.  Die and eval is a common Perl idiom,
so I would blame the handler for the failure.  You cannot use that
safely with generic modules.  Signal handlers are global so you
have to be careful that they do not interfere with anything you
use.

This is not an OpenBSD ports bug.

bluhm



Reply via email to