File: fix-misuse-of-IO-Socket-SSL.patch

package info (click to toggle)
libnet-smtp-tls-butmaintained-perl 0.17-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 172 kB
  • sloc: perl: 361; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 678 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix misuse of IO::Socket::SSL
Origin: upstream, https://metacpan.org/diff/release/FAYLAND/Net-SMTP-TLS-ButMaintained-0.17/FAYLAND/Net-SMTP-TLS-ButMaintained-0.21
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=77865
Forwarded: not-needed
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2013-10-29
Applied-Upstream: 0.21

--- a/lib/Net/SMTP/TLS/ButMaintained.pm
+++ b/lib/Net/SMTP/TLS/ButMaintained.pm
@@ -113,7 +113,7 @@
     }
     if (
         not IO::Socket::SSL::socket_to_SSL(
-            $me->{sock}, SSL_version => "SSLv3 TLSv1"
+            $me->{sock}, { SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE }
         )
       )
     {