Thanks for the quick reply and the helpful explanation. The error comes
from the "sendEmail" package, which is formatting the SSL_version in the
non-standard manner you describe.
I have cc'd the author of sendEmail.
Best regards,
Tom Agnew
On , Steffen Ullrich via RT <bug-IO-Socket-SSL@rt.cpan.org> wrote:
Show quoted text
Show quoted text> On Fri Nov 09 14:36:27 2012, agnewtj@gmail.com wrote:
Show quoted text
Show quoted text
Show quoted text> > I just encountered a bug in
Show quoted text> /usr/local/share/perl/5.14.2/IO/Socket/SSL.pm:
Show quoted text> > "invalid SSL_version specified"
Show quoted text
Show quoted text> > The SSL_version is now "SSLv3 TLSv1" which fails the regexp on line
Show quoted text> 1490.
Show quoted text> 'SSLv3 TLSv1' is not in the documented format.
Show quoted text> If you want to disable SSLv2 the best way would be to just leave
Show quoted text> the default of 'SSLv23:!SSLv2', which includes TLSv1 and SSLv3,
Show quoted text> but forbids SSLv2.
Show quoted text
Show quoted text> > I was able to hack the line as a workaround as follows....
Show quoted text
Show quoted text> This workaround only makes it accept the wrong SSL_version, but
Show quoted text> will interprete it wrongly as 'SSLv3'.
Show quoted text> Contrary to older versions of IO::Socket::SSL the version parsing
Show quoted text> was changed, so that only valid values will be accept, instead of
Show quoted text> accepting anything and interpreting it in a not-intented way like
Show quoted text> old versions did.
Show quoted text> If the wrong setting comes from your application please fix it.
Show quoted text> If the setting comes from another module please notify the author
Show quoted text> and let me know, so that I would be aware of incompatible modules
Show quoted text> in case of other bug reports.