diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-13 16:25:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-13 16:25:22 -0700 |
commit | ef7abe2e72074f8252f0812ab2ca05dff7e76a38 (patch) | |
tree | 5cbfc1d205e3053814c7020eb2761a0f8bac03aa | |
parent | e0e89545db1fc08ffe49b2b24455bb30137da671 (diff) |
Use od on /dev/random to generate cookie on Solaris
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b476c1c..5ad468b 100644 --- a/configure.ac +++ b/configure.ac @@ -144,6 +144,9 @@ case $host_os in *openbsd*) MCOOKIE='/usr/sbin/openssl rand -hex 16' ;; + *solaris*) + MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '" + ;; esac if test "x$MCOOKIE" != x ; then |