Update to IO::Socket::SSL breaks sendEmail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sendemail (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 12.04 (Precise), I recently updated IO::Socket::SSL to the latest available version (1.74). It appears stricter syntax checking is now being applied to the SSL_version parameter to the start_SSL method, and the usage in sendEmail is incorrect. Line 1907 needs to be modifed from:
1907: if (! IO::Socket:
to something like:
1907: if (! IO::Socket:
Note that the "SSLv23:!SSLv2" string is the default in IO::Socket::SSL, and inherently includes TLSv1. There may be better/alternative specifications that can be used, but the current string is syntactically invalid, which now causes IO::Socket::SSL to fail (previously, this would have been ignored).
I hope this helps.
Confirmed. I had to fix this as well, SSLv23:!SSLv2 makes it work.