FreeBSD Bugzilla – Attachment 164561 Details for
Bug 198764
[PATCH] www/elinks: Make EGD conditional/Fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for www/elinks
patch-www_elinks-no-EGD (text/plain), 1.37 KB, created by
Bernard Spil
on 2015-12-23 17:34:14 UTC
(
hide
)
Description:
svn diff for www/elinks
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-12-23 17:34:14 UTC
Size:
1.37 KB
patch
obsolete
>Index: www/elinks/files/patch-src_network_ssl_ssl.c >=================================================================== >--- www/elinks/files/patch-src_network_ssl_ssl.c (revision 0) >+++ www/elinks/files/patch-src_network_ssl_ssl.c (working copy) >@@ -0,0 +1,14 @@ >+--- src/network/ssl/ssl.c.orig 2009-08-22 13:15:08.000000000 +0200 >++++ src/network/ssl/ssl.c 2015-03-21 12:41:15.886709287 +0100 >+@@ -49,7 +49,10 @@ init_openssl(struct module *module) >+ * 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) { >++#ifndef OPENSSL_NO_EGD >++ if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) >++#endif >++ { >+ /* Not an EGD, so read and write to it */ >+ if (RAND_load_file(f_randfile, -1)) >+ RAND_write_file(f_randfile); > >Property changes on: www/elinks/files/patch-src_network_ssl_ssl.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198764
:
154618
|
154619
| 164561