summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@bluenote.herrb.net>2008-03-08 19:02:05 +0100
committerMatthieu Herrb <matthieu@bluenote.herrb.net>2008-03-08 19:02:19 +0100
commit062524614fdd4f11f32ba3d054f7fc16b9bc5f12 (patch)
tree96feddf5fab7a56100de9a9e56c8abc82e18408a /configure.ac
parent3eaee22196a03d88c419c42470baf562552c1a3b (diff)
OpenBSD: use openssl rand -hex 16 to generate the cookie.
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 0d13f8d..f473580 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,7 +142,7 @@ AC_PATH_PROGS(MCOOKIE, [mcookie], [$MCOOKIE],
case $host_os in
*openbsd*)
- MCOOKIE='dd if=/dev/arandom bs=16 count=1 2>/dev/null | hexdump -e \\\"%08x\\\"'
+ MCOOKIE='/usr/sbin/openssl rand -hex 16'
;;
esac