From a7fda62fcb5600dc65f84148923f5a0a70181e7e Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Fri, 28 Sep 2007 22:25:17 +0200 Subject: Use /dev/arandom instead of /dev/urandom to generate the cookie on OpenBSD. Problem noticed by Joerg Sonnenberger. Thanks. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3