This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libanyevent-perl.

commit f088c629625f549ba0d5214d1236672fb7955c2a
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Dec 17 16:40:44 2016 +0100

    Add patch for OpenSSL 1.1 compatibility.
    
    Closes: #848427
---
 debian/patches/anyevent-ssl1.1.patch | 23 +++++++++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/anyevent-ssl1.1.patch 
b/debian/patches/anyevent-ssl1.1.patch
new file mode 100644
index 0000000..9308471
--- /dev/null
+++ b/debian/patches/anyevent-ssl1.1.patch
@@ -0,0 +1,23 @@
+Description: OpenSSL 1.1 compatibility
+Origin: upstream vcs, 
http://cvs.schmorp.de/AnyEvent/lib/AnyEvent/Handle.pm?r1=1.248&r2=1.249
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=118584
+Bug-Debian: https://bugs.debian.org/848427
+Author: Marc Lehmann <schm...@schmorp.de>
+Last-Update: 2016-12-17
+Applied-Upstream: yes
+
+--- a/lib/AnyEvent/Handle.pm
++++ b/lib/AnyEvent/Handle.pm
+@@ -2221,10 +2221,10 @@
+    # we assume that most (but not all) of this insanity only applies to 
non-blocking cases,
+    # and we drive openssl fully in blocking mode here. Or maybe we don't - 
openssl seems to
+    # have identity issues in that area.
+-#   Net::SSLeay::CTX_set_mode ($ssl,
++#   Net::SSLeay::set_mode ($ssl,
+ #      (eval { local $SIG{__DIE__}; Net::SSLeay::MODE_ENABLE_PARTIAL_WRITE () 
} || 1)
+ #      | (eval { local $SIG{__DIE__}; 
Net::SSLeay::MODE_ACCEPT_MOVING_WRITE_BUFFER () } || 2));
+-   Net::SSLeay::CTX_set_mode ($tls, 1|2);
++   Net::SSLeay::set_mode ($tls, 1|2);
+ 
+    $self->{_rbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ());
+    $self->{_wbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ());
diff --git a/debian/patches/series b/debian/patches/series
index 9d8a597..4a36dcb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-spelling.patch
 replace-abuse-die-with-warn.patch
+anyevent-ssl1.1.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libanyevent-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to