diff -Naur a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c --- a/src/network/ssl/ssl.c 2012-10-28 13:57:15.000000000 +0100 +++ b/src/network/ssl/ssl.c 2015-11-18 10:26:31.568478092 +0100 @@ -44,18 +44,6 @@ static void init_openssl(struct module *module) { - unsigned char f_randfile[PATH_MAX]; - - /* In a nutshell, on OS's without a /dev/urandom, the OpenSSL library - * cannot initialize the PRNG and so every attempt to use SSL fails. - * It's actually an OpenSSL FAQ, and according to them, it's up to the - * application coders to seed the RNG. -- William Yodlowsky */ - if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) { - /* Not an EGD, so read and write to it */ - if (RAND_load_file(f_randfile, -1)) - RAND_write_file(f_randfile); - } - SSLeay_add_ssl_algorithms(); context = SSL_CTX_new(SSLv23_client_method()); SSL_CTX_set_options(context, SSL_OP_ALL);