Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 520080 Details for
Bug 606012
mail-client/mutt-1.7.2-r1 with dev-libs/openssl-1.1.0c - mutt_ssl.c:242: undefined reference to `SSL_load_error_strings'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mutt-1.9.2-openssl-1.1.0-compat.patch
mutt-1.9.2-openssl-1.1.0-compat.patch (text/plain), 992 bytes, created by
Quentin Minster
on 2018-02-18 22:52:50 UTC
(
hide
)
Description:
mutt-1.9.2-openssl-1.1.0-compat.patch
Filename:
MIME Type:
Creator:
Quentin Minster
Created:
2018-02-18 22:52:50 UTC
Size:
992 bytes
patch
obsolete
>diff --git a/mutt_ssl.c b/mutt_ssl.c >index eacd155..0d2f162 100644 >--- a/mutt_ssl.c >+++ b/mutt_ssl.c >@@ -28,6 +28,12 @@ > #include <openssl/rand.h> > #include <openssl/evp.h> > >+#if OPENSSL_VERSION_NUMBER >= 0x10100000L >+#define X509_get_notBefore X509_get0_notBefore >+#define X509_get_notAfter X509_get0_notAfter >+#define X509_STORE_CTX_get_chain X509_STORE_CTX_get1_chain >+#endif >+ > #undef _ > > #include <string.h> >@@ -331,8 +337,10 @@ static int ssl_init (void) > > /* I don't think you can do this just before reading the error. The call > * itself might clobber the last SSL error. */ >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > SSL_load_error_strings(); > SSL_library_init(); >+#endif > init_complete = 1; > return 0; > } >@@ -740,7 +748,7 @@ static void x509_fingerprint (char *s, int l, X509 * cert, const EVP_MD *(*hashf > } > } > >-static char *asn1time_to_string (ASN1_UTCTIME *tm) >+static char *asn1time_to_string (const ASN1_UTCTIME *tm) > { > static char buf[64]; > BIO *bio;
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 606012
:
460438
| 520080