Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459240 Details for
Bug 605026
www-client/elinks-0.12_pre6-r2 with dev-libs/openssl-1.1.0c - configure: error: OpenSSL not found - conftest.c:151: undefined reference to `SSLeay_add_ssl_algorithms'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-ssl-Make-RAND_egd-optional.patch
0001-ssl-Make-RAND_egd-optional.patch (text/plain), 1.13 KB, created by
eroen
on 2017-01-08 22:45:01 UTC
(
hide
)
Description:
0001-ssl-Make-RAND_egd-optional.patch
Filename:
MIME Type:
Creator:
eroen
Created:
2017-01-08 22:45:01 UTC
Size:
1.13 KB
patch
obsolete
>From 31439df24509975ebac0a478d5e4c3d27d1d79bc Mon Sep 17 00:00:00 2001 >From: Kylie McClain <somasis@exherbo.org> >Date: Sun, 8 Jan 2017 23:35:09 +0100 >Subject: [PATCH 1/2] ssl: Make RAND_egd optional > >Fixes compilation with LibreSSL. >--- > src/network/ssl/ssl.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c >index c008121d..c06a80a7 100644 >--- a/src/network/ssl/ssl.c >+++ b/src/network/ssl/ssl.c >@@ -50,11 +50,16 @@ 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) { >+ RAND_file_name(f_randfile, sizeof(f_randfile)); >+#ifdef HAVE_RAND_EGD >+ if (RAND_egd(f_randfile) < 0) { > /* Not an EGD, so read and write to it */ >+#endif > if (RAND_load_file(f_randfile, -1)) > RAND_write_file(f_randfile); >+#ifdef HAVE_RAND_EGD > } >+#endif > > SSLeay_add_ssl_algorithms(); > context = SSL_CTX_new(SSLv23_client_method()); >-- >2.11.0 >
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 605026
:
459136
|
459138
|
459238
| 459240 |
459242
|
500770
|
502474
|
522472