Commit: ef80103f95410619ed233d8f0f6462358c3d91af
Parent: a1d5393e933870336ff3f41640d9b3f24abbce60
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-03-05 22:31:16
Tree: 0c566270b3af86d4d6d8c7ad0a807eb79977f8dd

autopair: Remove time(NULL) fallback when seeding rand() If /dev/urandom cannot be opened or read, just fail the plugin initialization, as it is very unlikely that a fully working Linux system does not have a working /dev/urandom. This also simplifies the code logic.

Diffstat

M plugins/autopair.c | 27 ++++++++++++++++++- - - - - - - - -

1 files changed, 18 insertions(+), 9 deletions(-)

View Full Diff | Patch