Tuesday, December 11, 2018

Re: p5-IO-Socket-SSL message

On Mon, Dec 10, 2018 at 08:00:16PM +0100, db@dandat.net wrote:
> use HTTP::Tiny;
> my $ua = HTTP::Tiny->new( agent => $UA );
> my $response = $ua->get($BASE_URL);

Is this your complete Perl program? Or just an excerpt? Can you
provide a minimal program that triggers the bug. Obviously in your
example $UA and $BASE_URL are undefined.

I get this error:

Use of uninitialized value $url in pattern match (m//) at /usr/libdata/perl5/HTTP/Tiny.pm line 836.
Use of uninitialized value $url in concatenation (.) or string at /usr/libdata/perl5/HTTP/Tiny.pm line 836.

> I'm getting this message:
> Your vendor has not defined SSLeay macro TLS1_3_VERSION at
> /usr/local/libdata/perl5/site_perl/IO/Socket/SSL.pm line 104.

Do you have code like this somewhere in your program?

$SIG{__DIE__} = sub {warn @_}

I don't think your problem is OpenBSD specific. But on systems
with OpenSSL 1.1 it cannot happen.

bluhm

No comments:

Post a Comment