diff options
author | dequis <dx@dxzone.com.ar> | 2014-07-10 08:07:51 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-01-26 00:27:24 -0300 |
commit | 5eab298f82c97d9181f2fb07deea51db567750b2 (patch) | |
tree | 52cf08cd26f32661a9fd30fa04904fd85b5dab65 /bitlbee.c | |
parent | 11e782892c33d6ecae949bc610c075107c0cda89 (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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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. */ |