diff options
author | Matthieu Herrb <matthieu@bluenote.herrb.net> | 2008-03-08 19:02:05 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@bluenote.herrb.net> | 2008-03-08 19:02:19 +0100 |
commit | 062524614fdd4f11f32ba3d054f7fc16b9bc5f12 (patch) | |
tree | 96feddf5fab7a56100de9a9e56c8abc82e18408a | |
parent | 3eaee22196a03d88c419c42470baf562552c1a3b (diff) |
OpenBSD: use openssl rand -hex 16 to generate the cookie.
-rw-r--r-- | configure.ac | 2 |
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 |