[libio-socket-ssl-perl] 01/02: Add 0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch
Salvatore Bonaccorso
carnil at debian.org
Sun Oct 9 05:29:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch jessie
in repository libio-socket-ssl-perl.
commit eba4c62a6738d7eaf65213002c5123e6fbf64e40
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sat Oct 8 17:23:40 2016 +0200
Add 0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch
Removes the -r check for for checking SSL_{cert,key}_file since this
will an usable error later anyway. Addresses "Cannot use SSL_key_file
with ACL permissions".
Thanks: Michael Braun and Steffen Ullrich.
Closes: #839576
---
...r-checking-SSL_-cert-key-_file-since-this.patch | 26 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch b/debian/patches/0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch
new file mode 100644
index 0000000..698d712
--- /dev/null
+++ b/debian/patches/0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch
@@ -0,0 +1,26 @@
+From 7432b34d5bf6f63f4b422e2fc411ee3fc7750c9e Mon Sep 17 00:00:00 2001
+From: Steffen Ullrich <Steffen_Ullrich at genua.de>
+Date: Sun, 23 Aug 2015 21:17:06 +0200
+Subject: [PATCH] remove -r for checking SSL_{cert,key}_file since this will
+ cause a usable error later anywy if file does not exist. This fixes some part
+ of #106295
+
+---
+ lib/IO/Socket/SSL.pm | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/lib/IO/Socket/SSL.pm b/lib/IO/Socket/SSL.pm
+index b000a6b..4fea291 100644
+--- a/lib/IO/Socket/SSL.pm
++++ b/lib/IO/Socket/SSL.pm
+@@ -2082,7 +2082,6 @@ sub new {
+ defined( my $file = $arg_hash->{$_} ) or next;
+ for my $f (ref($file) eq 'HASH' ? values(%$file):$file ) {
+ die "$_ $f does not exist" if ! -f $f;
+- die "$_ $f is not accessible" if ! -r _;
+ }
+ }
+
+--
+2.9.3
+
diff --git a/debian/patches/series b/debian/patches/series
index ec78633..acd99df 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-use-only-ICANN-part-in-public-suffix-list.patch
0001-make-PublicSuffix-_default_data-thread-safe-by-stori.patch
+0001-remove-r-for-checking-SSL_-cert-key-_file-since-this.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list