Subject: | Minor Bug with IO-Socket-SSL and dev versions of Net-SSLeay |
Date: | Sat, 2 Mar 2019 18:56:27 +1100 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | Reuben Farrelly <reuben [...] reub.net> |
Hi,
I've had to upgrade recently to a more recent version of Net-SSLeay in
order to build with LibreSSL. The code I am using is 1.86_07 from
https://github.com/radiator-software/p5-net-ssleay
However since the upgrade, I'm seeing a number of applications that use
IO-Socket-SSL now logging warnings like this:
Mar 2 18:42:13 tornado.reub.net spamd[26808]: Argument "1.86_07" isn't
numeric in numeric lt (<) at
/usr/lib64/perl5/vendor_perl/5.28.0/IO/Socket/SSL.pm line 100.
I'm guessing that IO-Socket-SSL is groking on the format of the
Net-SSLeay version number, which in these releases has an underscore in it.
Would it be possible to tweak IO-Socket-SSL so that it no longer warns
on this? Presumably just ignoring the underscore and anything after it
would be sufficient to still fulfil the test it is trying to do.
I am happy to test a patch/fix/hand-edit if required. Currently also
running IO-Socket-SSL version 2.063.
Thanks,
Reuben Farrelly