diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-13 12:11:17 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-13 12:11:17 +1100 |
commit | d8ab0d4a852e00ab9e46c7147d887b0b038d7d43 (patch) | |
tree | a584e97df6f83d56a2f55564c2e8104b5a3ab7da /configure.in | |
parent | 5d8520ab76cb794358e0bc439d0d1acaabc7dbf8 (diff) |
- (djm) Only test -S potential EGD sockets if they exist and are readable.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index fcb822840..b52448f46 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.in,v 1.235 2001/02/12 07:29:45 mouring Exp $ | 1 | # $Id: configure.in,v 1.236 2001/02/13 01:11:17 djm Exp $ |
2 | 2 | ||
3 | AC_INIT(ssh.c) | 3 | AC_INIT(ssh.c) |
4 | 4 | ||
@@ -1092,7 +1092,7 @@ AC_ARG_WITH(egd-pool, | |||
1092 | AC_MSG_CHECKING(for PRNGD/EGD socket) | 1092 | AC_MSG_CHECKING(for PRNGD/EGD socket) |
1093 | # Insert other locations here | 1093 | # Insert other locations here |
1094 | for egdsock in /var/run/egd-pool /etc/entropy /tmp/entropy ; do | 1094 | for egdsock in /var/run/egd-pool /etc/entropy /tmp/entropy ; do |
1095 | if $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then | 1095 | if test -r $egdsock && $TEST_MINUS_S_SH -c "test -S $egdsock -o -p $egdsock" ; then |
1096 | EGD_SOCKET="$egdsock" | 1096 | EGD_SOCKET="$egdsock" |
1097 | AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET") | 1097 | AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET") |
1098 | break; | 1098 | break; |