summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@bluenote.herrb.com>2007-09-28 22:25:17 +0200
committerMatthieu Herrb <matthieu@bluenote.herrb.com>2007-09-28 22:25:48 +0200
commita7fda62fcb5600dc65f84148923f5a0a70181e7e (patch)
tree481a6be0bc3fc0ac6793538da91bb6c2e2122ce6 /configure.ac
parentff9752bc4304e5a29ef7e06b56bd4e0e5ca32926 (diff)
Use /dev/arandom instead of /dev/urandom to generate the cookie
on OpenBSD. Problem noticed by Joerg Sonnenberger. Thanks.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c42cfa5..2781850 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,7 +108,7 @@ AC_PATH_PROGS(MCOOKIE, [mcookie], [$MCOOKIE],
case $host_os in
*openbsd*)
- MCOOKIE='dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\\"%08x\\\"'
+ MCOOKIE='dd if=/dev/arandom bs=16 count=1 2>/dev/null | hexdump -e \\\"%08x\\\"'
;;
esac