patch for configure settings for OpenBSD

Reinhard J. Sammer reinhard@sammer.net
Sun Mar 25 18:02:02 2001


--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

uses /dev/arandom 

regards,
reinhard@openbsd.org

PS: i'm not subscribed to this list, so cc: me in case of ...

--ctP54qlpMx3WjD+/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-configure_in

$OpenBSD: patch-configure_in,v 1.1 2001/03/03 17:17:28 reinhard Exp $
--- configure.in.orig	Tue Oct 17 15:29:31 2000
+++ configure.in	Sat Mar  3 17:21:37 2001
@@ -260,7 +260,7 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$
 dnl  Fixme: Are these the best flags for OpenBSD????
 case "${target}" in
     *-openbsd*)
-        NAME_OF_DEV_RANDOM="/dev/srandom"
+        NAME_OF_DEV_RANDOM="/dev/arandom"
         NAME_OF_DEV_URANDOM="/dev/urandom"
         DYNLINK_MOD_CFLAGS="-shared -rdynamic $CFLAGS_PIC -Wl,-Bshareable -Wl,-x"
         ;;

--ctP54qlpMx3WjD+/--