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

Matthieu Herrb matthieu at herrb.eu
Thu Aug 28 23:16:55 PDT 2014


On Fri, Aug 29, 2014 at 01:34:16AM -0400, Brad Smith wrote:
> 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.
> 

Reviewed-by: Matthieu Herrb <matthieu at herrb.eu>

> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

-- 
Matthieu Herrb


More information about the xorg-devel mailing list