Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 417236 Details for
Bug 566068
www-client/elinks: add libressl support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
elinks-0.12_pre6-libressl.patch
file_566068.txt (text/plain), 1.46 KB, created by
Marek BehĂșn
on 2015-11-17 17:33:52 UTC
(
hide
)
Description:
elinks-0.12_pre6-libressl.patch
Filename:
MIME Type:
Creator:
Marek BehĂșn
Created:
2015-11-17 17:33:52 UTC
Size:
1.46 KB
patch
obsolete
>From b534dfbf3b18f9ac9c104a5dcd06d80ecd6dc485 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@blackhole.sk> >Date: Tue, 17 Nov 2015 18:19:23 +0100 >Subject: [PATCH] Remove support for RAND_egd > >The EGD daemon has not seen a release since 13 years which for cryptographic >software is not an acceptable timeframe. LibreSSL has dropped support for >RAND_egd. > >Also see http://bugzilla.elinks.cz/show_bug.cgi?id=1146 > >Signed-off-by: Marek Behun <kabel@blackhole.sk> >--- > src/network/ssl/ssl.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > >diff --git a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c >index 693ac37..70c4744 100644 >--- a/src/network/ssl/ssl.c >+++ b/src/network/ssl/ssl.c >@@ -80,15 +80,8 @@ init_openssl(struct module *module) > { > unsigned char f_randfile[PATH_MAX]; > >- /* In a nutshell, on OS's without a /dev/urandom, the OpenSSL library >- * 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) { >- /* Not an EGD, so read and write to it */ >- if (RAND_load_file(f_randfile, -1)) >- RAND_write_file(f_randfile); >- } >+ if (RAND_load_file(f_randfile, -1)) >+ RAND_write_file(f_randfile); > > SSLeay_add_ssl_algorithms(); > context = SSL_CTX_new(SSLv23_client_method()); >-- >2.4.10
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 566068
:
417234
|
417236
|
417266
|
417360
|
417362