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