diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-09-28 20:23:05 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-09-28 20:23:05 +0000 |
commit | ab0ca49a2d8ef533d1e6739eff8afd735857dc6b (patch) | |
tree | af5b8a5ceccdb22b24f7fb63341c72629da2d210 | |
parent | f86a28a7a900230f979149fd8366ffa57c97484a (diff) |
use /dev/arandom to generate the cookie. Problem noticed by
Joerg Sonnenberger. Thanks.
-rw-r--r-- | app/xinit/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/xinit/configure.ac b/app/xinit/configure.ac index 880f09e46..8ad3d8b56 100644 --- a/app/xinit/configure.ac +++ b/app/xinit/configure.ac @@ -120,7 +120,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 |