Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 458618 Details for
Bug 604576
dev-util/radare2-1.1.0 with dev-libs/openssl-1.1.0c - undefined reference to `SSL_library_init'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Disable-deprecated-initialization-for-openssl-1.1.0.patch
0001-Disable-deprecated-initialization-for-openssl-1.1.0.patch (text/plain), 982 bytes, created by
eroen
on 2017-01-03 22:39:35 UTC
(
hide
)
Description:
0001-Disable-deprecated-initialization-for-openssl-1.1.0.patch
Filename:
MIME Type:
Creator:
eroen
Created:
2017-01-03 22:39:35 UTC
Size:
982 bytes
patch
obsolete
>From 23a2975033b6a733562b7ba37f435dd0506c7437 Mon Sep 17 00:00:00 2001 >From: eroen <radare@occam.eroen.eu> >Date: Tue, 3 Jan 2017 23:27:49 +0100 >Subject: [PATCH] Disable deprecated initialization for openssl 1.1.0 > >Openssl 1.1.0 handles this initialization internally. Leaving the calls in >place causes "undefined reference" errors if openssl was built with >`--api=1.1.0`. > >X-Gentoo-Bug: 604576 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604576 >--- > libr/socket/socket.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/libr/socket/socket.c b/libr/socket/socket.c >index 1e30120fb..1ba87e77e 100755 >--- a/libr/socket/socket.c >+++ b/libr/socket/socket.c >@@ -116,11 +116,13 @@ R_API RSocket *r_socket_new (int is_ssl) { > s->sfd = NULL; > s->ctx = NULL; > s->bio = NULL; >+#if OPENSSL_VERSION_NUMBER < 0x1010000fL > if (!SSL_library_init ()) { > r_socket_free (s); > return NULL; > } > SSL_load_error_strings (); >+#endif > } > #endif > return s; >-- >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 604576
:
458614
| 458618