From: Paul L. <pa...@sq...> - 2016-09-14 00:01:36
|
On 2016年03月31日 12:57, Loganaden Velvindron wrote: > EGD has largely become legacy now. > > OpenSSL disables it by default in its latest release, and LibreSSL has > ripped it out completely. > > I took the patch from OpenBSD, from an older version. Committed. Thank you. > Index: src/main.c > =================================================================== > --- src/main.c (revision 14549) > +++ src/main.c (working copy) > @@ -452,13 +452,8 @@ > /* Set up OpenSSL thread protection */ > ssl_thread_setup(fn); > > - /* Need to seed PRNG, too! */ > - if ( RAND_egd( ( RAND_file_name( f_randfile, sizeof( f_randfile ) ) > == f_randfile ) ? f_randfile : "/.rnd" ) ) > - { > - /* Not an EGD, so read and write it. */ > - if ( RAND_load_file( f_randfile, -1 ) ) > + if ( RAND_load_file( f_randfile, -1 ) ) > RAND_write_file( f_randfile ); > - } > > SSL_load_error_strings(); > -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |