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:05 +0100
commitf24144641b2bad8e1aef1ae68502c19633e3d612 (patch)
tree691e907e619fe2c658ee3cb2679182dc0ea721b0 /configure.ac
parentf72cb8be677a6117a6d340ee50e998ca60bb0fea (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 a6b77b3..78e8220 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,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