summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-13 12:11:17 +1100
committerDamien Miller <djm@mindrot.org>2001-02-13 12:11:17 +1100
commitd8ab0d4a852e00ab9e46c7147d887b0b038d7d43 (patch)
treea584e97df6f83d56a2f55564c2e8104b5a3ab7da /configure.in
parent5d8520ab76cb794358e0bc439d0d1acaabc7dbf8 (diff)
- (djm) Only test -S potential EGD sockets if they exist and are readable.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index fcb82284..b52448f4 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;