Loganaden Velvindron
2016-03-31 19:57:25 UTC
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.
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();
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
-----
squirrelmail-imapproxy mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy
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.
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();
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
-----
squirrelmail-imapproxy mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.imapproxy
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-imapproxy