Blame SOURCES/0016-test_ca-test-library-only-for-readable.patch

71e593
From a29359146455ed7e468a20ce4ad50afbb2b567b5 Mon Sep 17 00:00:00 2001
71e593
From: Sumit Bose <sbose@redhat.com>
71e593
Date: Mon, 10 Sep 2018 22:03:55 +0200
71e593
Subject: [PATCH 16/19] test_ca: test library only for readable
71e593
71e593
On Debian libraries typically do not have the execute-bit set so it is
71e593
better to only check for readability.
71e593
71e593
Related to https://pagure.io/SSSD/sssd/issue/3500
71e593
71e593
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
71e593
(cherry picked from commit 91aea762d02731193eb66a00b930ff1fe8bc5ab8)
71e593
---
71e593
 src/external/test_ca.m4 | 2 +-
71e593
 1 file changed, 1 insertion(+), 1 deletion(-)
71e593
71e593
diff --git a/src/external/test_ca.m4 b/src/external/test_ca.m4
71e593
index 2cdb3c750cc5b024165a0d4a1a578605792183f7..bb4872698fa291bb651bdf61da1b721cae01bc13 100644
71e593
--- a/src/external/test_ca.m4
71e593
+++ b/src/external/test_ca.m4
71e593
@@ -58,7 +58,7 @@ AC_DEFUN([AM_CHECK_TEST_CA],
71e593
             AC_MSG_NOTICE([Could not find p11tool])
71e593
         fi
71e593
 
71e593
-        AM_CONDITIONAL([BUILD_TEST_CA], [test -x "$OPENSSL" -a -x "$SSH_KEYGEN" -a -x "$SOFTHSM2_PATH" -a -x "$SOFTHSM2_UTIL" -a -x "$P11TOOL"])
71e593
+        AM_CONDITIONAL([BUILD_TEST_CA], [test -x "$OPENSSL" -a -x "$SSH_KEYGEN" -a -r "$SOFTHSM2_PATH" -a -x "$SOFTHSM2_UTIL" -a -x "$P11TOOL"])
71e593
     fi
71e593
 
71e593
     AM_COND_IF([BUILD_TEST_CA],
71e593
-- 
71e593
2.14.4
71e593