[Mono-devel-list] Patch for using egd/prngd for random numbers

Miguel de Icaza miguel at ximian.com
Mon Apr 26 21:08:03 EDT 2004


Hello,

> I've been meaning to send this round for a bit. Here is a patch
> to enable use of egd or prngd for random numbers for machines
> without /dev/random. 
> 
> It adds an option to configure --with-egd which can be
> "yes" meaning use the env var MONO_EGD_SOCKET for
> getting the socket to talk to the daemon, or can be the
> name of the path to the socket if you want to compile this
> in as an absolute reference.
> 
> Any issues?

I would build the code always, and only activate it if /dev/random is
missing and we can talk to the server, as opposed to making it
configurable.

Miguel.



More information about the Mono-devel-list mailing list