Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459778 Details for
Bug 592466
dev-vcs/git with >=dev-libs/openssl-1.1.0 - imap-send.c:(.text+0x14ce): 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-imap-send.c-Avoid-deprecated-openssl-1.1.0-API.patch
0001-imap-send.c-Avoid-deprecated-openssl-1.1.0-API.patch (text/plain), 1.04 KB, created by
eroen
on 2017-01-12 14:37:13 UTC
(
hide
)
Description:
0001-imap-send.c-Avoid-deprecated-openssl-1.1.0-API.patch
Filename:
MIME Type:
Creator:
eroen
Created:
2017-01-12 14:37:13 UTC
Size:
1.04 KB
patch
obsolete
>From 0b78c3eac217930615d3f61743112669b053f604 Mon Sep 17 00:00:00 2001 >From: eroen <git-scm@occam.eroen.eu> >Date: Thu, 12 Jan 2017 11:02:22 +0100 >Subject: [PATCH] imap-send.c: Avoid deprecated openssl 1.1.0 API > >Library initialization functions are deprecated in openssl 1.1.0 API, as >initialization is handled by openssl internally. > >Symbols for deprecated functions are not exported if openssl is built with >`--api=1.1 disable-deprecated`, so their use will cause a build failure. > >Reported-by: Lars Wendler (Polynomial-C) > >X-Gentoo-Bug: 592466 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592466 >--- > imap-send.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/imap-send.c b/imap-send.c >index 5c7e27a89..98774360e 100644 >--- a/imap-send.c >+++ b/imap-send.c >@@ -284,8 +284,10 @@ static int ssl_socket_connect(struct imap_socket *sock, int use_tls_only, int ve > int ret; > X509 *cert; > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > SSL_library_init(); > SSL_load_error_strings(); >+#endif > > meth = SSLv23_method(); > if (!meth) { >-- >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 592466
:
444478
| 459778