diff options
author | Matthieu Herrb <matthieu@bluenote.herrb.com> | 2007-09-28 22:25:17 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@bluenote.herrb.com> | 2007-09-28 22:25:48 +0200 |
commit | a7fda62fcb5600dc65f84148923f5a0a70181e7e (patch) | |
tree | 481a6be0bc3fc0ac6793538da91bb6c2e2122ce6 /configure.ac | |
parent | ff9752bc4304e5a29ef7e06b56bd4e0e5ca32926 (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.ac | 2 |
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 |