Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498824 Details for
Bug 592510
www-client/w3m fails to build with >=dev-libs/openssl-1.1.0 built with disable-deprecated option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
w3m-0.5.3-r9-openssl-1.1.patch
w3m-0.5.3-r9-openssl-1.1.patch (text/plain), 1.27 KB, created by
Mark Wright
on 2017-10-16 07:20:50 UTC
(
hide
)
Description:
w3m-0.5.3-r9-openssl-1.1.patch
Filename:
MIME Type:
Creator:
Mark Wright
Created:
2017-10-16 07:20:50 UTC
Size:
1.27 KB
patch
obsolete
>--- w3m-0.5.3-git20161120-orig/url.c 2016-11-20 21:32:05.000000000 +1100 >+++ w3m-0.5.3-git20161120/url.c 2017-10-16 18:02:44.257894289 +1100 >@@ -319,12 +319,16 @@ > #endif /* defined(USE_SSL_VERIFY) */ > if (ssl_ctx == NULL) { > int option; >-#if SSLEAY_VERSION_NUMBER < 0x0800 >+#if OPENSSL_VERSION_NUMBER < 0x0800 > ssl_ctx = SSL_CTX_new(); > X509_set_default_verify_paths(ssl_ctx->cert); > #else /* SSLEAY_VERSION_NUMBER >= 0x0800 */ >+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) > SSLeay_add_ssl_algorithms(); > SSL_load_error_strings(); >+#else >+ OPENSSL_init_ssl(0, NULL); >+#endif > if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) > goto eend; > SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!RC4:!EXP"); >--- w3m-0.5.3-git20161120-orig/istream.c 2016-11-20 21:32:05.000000000 +1100 >+++ w3m-0.5.3-git20161120/istream.c 2017-10-16 18:11:47.158860892 +1100 >@@ -421,7 +421,11 @@ > for (i = 0; i < n; i++) { > gn = sk_GENERAL_NAME_value(alt, i); > if (gn->type == GEN_DNS) { >+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) > char *sn = ASN1_STRING_data(gn->d.ia5); >+#else >+ char *sn = ASN1_STRING_get0_data(gn->d.ia5); >+#endif > int sl = ASN1_STRING_length(gn->d.ia5); > > if (!seen_dnsname)
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 592510
:
444520
| 498824