From d8ab0d4a852e00ab9e46c7147d887b0b038d7d43 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 13 Feb 2001 12:11:17 +1100 Subject: - (djm) Only test -S potential EGD sockets if they exist and are readable. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index fcb822840..b52448f46 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.235 2001/02/12 07:29:45 mouring Exp $ +# $Id: configure.in,v 1.236 2001/02/13 01:11:17 djm Exp $ AC_INIT(ssh.c) @@ -1092,7 +1092,7 @@ AC_ARG_WITH(egd-pool, AC_MSG_CHECKING(for PRNGD/EGD socket) # Insert other locations here for egdsock in /var/run/egd-pool /etc/entropy /tmp/entropy ; do - if $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then + if test -r $egdsock && $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then EGD_SOCKET="$egdsock" AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET") break; -- cgit v1.2.3