olsr_random: introduce better random functions
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Feb 2015 10:27:03 +0000 (11:27 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Feb 2015 10:27:56 +0000 (11:27 +0100)
commit26d80bb36b1586f39f32f028ba7159c26ec178de
tree58d8d636f04cac2a378b2c314964912d2d14f8e2
parent5c3158bdfce2b1746036206cd1da5c2839e23afa
olsr_random: introduce better random functions

These new function read /dev/urandom (or /dev/random as a fallback)
on platforms that support those devices. They invoke random() on
other platforms.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/olsr_random.h [new file with mode: 0644]