Subject: | invalid SSL_version split looking for colon-delimiter |
Date: | Wed, 13 Aug 2014 13:30:58 -0700 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | Marshall Levesque <marshall [...] emolecules.com> |
Hi-
We received this error after upgrading to the version 1.997:
*invalid SSL_version specified at
/usr/local/share/perl/5.10.1/IO/Socket/SSL.pm line 489*
We found that the for-loop looks at the the results of a split() which uses
a colon : for a delimiter. Starting on line 2085 of IO/Socket/SSL.pm
*for (split(/\s*:\s*/,$arg_hash->{SSL_version})) {*
* m{^(!?)(?:(SSL(?:v2|v3|v23|v2/3))|(TLSv1(?:_?[12])?))$}i*
* or croak("invalid SSL_version specified”);*
But when we print the $arg_hash->{SSL_version} to STDERR, we see that the
value is "*SSLv3 TLSv1*”. So there is no colon.
-Marshall
*---*
*Marshall Levesque, PhD*
*eMolecules, Inc.*
*Director of Software Development*
11025 N. Torrey Pines Road
Suite 140
La Jolla, CA 92037, USA
+1-858-368-8638