FreeBSD Bugzilla – Attachment 171980 Details for
Bug 210727
www/links1: Fails to build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
links1.diff
links1.diff (text/plain), 668 bytes, created by
Tobias Kortkamp
on 2016-06-30 19:25:45 UTC
(
hide
)
Description:
links1.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2016-06-30 19:25:45 UTC
Size:
668 bytes
patch
obsolete
>diff --git a/www/links1/files/patch-https.c b/www/links1/files/patch-https.c >new file mode 100644 >index 0000000..d7c4833 >--- /dev/null >+++ b/www/links1/files/patch-https.c >@@ -0,0 +1,15 @@ >+$OpenBSD: patch-https_c,v 1.1 2014/04/19 17:42:59 sthen Exp $ >+--- https.c.orig 2006-09-11 02:09:24 UTC >++++ https.c >+@@ -33,7 +33,10 @@ SSL *getSSL(void) >+ char f_randfile[PATH_MAX]; >+ >+ const char *f = RAND_file_name(f_randfile, sizeof(f_randfile)); >+- if (f && RAND_egd(f)<0) { >++#ifndef OPENSSL_NO_EGD >++ if (f && RAND_egd(f)<0) >++#endif >++ { >+ /* Not an EGD, so read and write to it */ >+ if (RAND_load_file(f_randfile, -1)) >+ RAND_write_file(f_randfile);
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 210727
: 171980