aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2014-07-10 08:07:51 -0300
committerdequis <dx@dxzone.com.ar>2015-01-26 00:27:24 -0300
commit5eab298f82c97d9181f2fb07deea51db567750b2 (patch)
tree52cf08cd26f32661a9fd30fa04904fd85b5dab65 /bitlbee.c
parent11e782892c33d6ecae949bc610c075107c0cda89 (diff)
random_bytes: Use /dev/urandom only, don't bother trying /dev/random
Also abort() if there's no /dev/urandom See http://www.2uo.de/myths-about-urandom/ for details.
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 90df135a..dae57f93 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -328,10 +328,6 @@ static gboolean bitlbee_io_new_client( gpointer data, gint fd, b_input_condition
{
irc_t *irc;
- /* Since we're fork()ing here, let's make sure we won't
- get the same random numbers as the parent/siblings. */
- srand( time( NULL ) ^ getpid() );
-
b_main_init();
/* Close the listening socket, we're a client. */