Line 0
Link Here
|
|
|
1 |
--- src/main.c.orig 2016-01-29 18:11:40 UTC |
2 |
+++ src/main.c |
3 |
@@ -473,7 +473,9 @@ int main( int argc, char *argv[] ) |
4 |
ssl_thread_setup(fn); |
5 |
|
6 |
/* Need to seed PRNG, too! */ |
7 |
+#ifndef OPENSSL_NO_EGD |
8 |
if ( RAND_egd( ( RAND_file_name( f_randfile, sizeof( f_randfile ) ) == f_randfile ) ? f_randfile : "/.rnd" ) ) |
9 |
+#endif |
10 |
{ |
11 |
/* Not an EGD, so read and write it. */ |
12 |
if ( RAND_load_file( f_randfile, -1 ) ) |