[PATCH:xinit] Remove hardcoded path to OpenSSL for OpenBSD

Brad Smith brad at comstyle.com
Thu Aug 28 22:34:16 PDT 2014


Since xinit's autoconf script was changed to use AC_PATH_PROGS() to find
openssl this hardcoded path to openssl can be removed. This was noticed
recently when openssl was moved from /usr/sbin to /usr/bin and developers
were looking for anything having hardcoded paths.


diff --git a/configure.ac b/configure.ac
index f04b7c1..3e9bd79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,9 +160,6 @@ if test "x$MCOOKIE" = x ; then
         MCOOKIE="$OPENSSL rand -hex 16"
     else
         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 ' '"
                 ;;

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the xorg-devel mailing list