Hi,

On Mon, 2014-11-17 at 10:57 -0600, David Lechner wrote:
> On 11/17/2014 04:43 AM, Patrik Flykt wrote:
> > Use /dev/urandom as the proper source for random numbers. Verify the
> > existence of /dev/urandom at compile time and program startup.
> Out of curiosity, why does it matter that we have /dev/urandom at 
> compile time?

automake/autoconf is old skool and assumes that the device where the
software is compiled is also the one where the software is run.
Therefore the extra check that everything needed is on board from the
start. This then allows unit tests to be run during compile time
checking features where random numbers are needed - perhaps just by
accident as the test might only validate that the message is properly
formed or so.

I'm unfortunately not writing any such tests, if anyone feels like it,
please send patches... :-)

Cheers,

        Patrik


_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to