Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 523518 Details for
Bug 650224
media-gfx/argyllcms-2.0.0 - add openssl-1.1 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
media-gfx/argyllcms-2.0.0: openssl-1.1 patch
argyllcms-2.0.0-openssl-1.1.patch (text/plain), 822 bytes, created by
Yuriy Ilinykh
on 2018-03-11 15:54:01 UTC
(
hide
)
Description:
media-gfx/argyllcms-2.0.0: openssl-1.1 patch
Filename:
MIME Type:
Creator:
Yuriy Ilinykh
Created:
2018-03-11 15:54:01 UTC
Size:
822 bytes
patch
obsolete
>diff -Naur a/ccast/ccpacket.c b/ccast/ccpacket.c >--- a/ccast/ccpacket.c 1970-01-01 05:00:00.000000000 +0500 >+++ b/ccast/ccpacket.c 2018-03-04 22:19:02.913121849 +0500 >@@ -156,6 +156,7 @@ > #ifdef USING_AXTLS > if ((p->ctx = ssl_ctx_new(SSL_SERVER_VERIFY_LATER, 1)) == NULL) >-#else >- // Want to use TLS_client_method(), but older OpenSSL doesn't have it... >+#elif OPENSSL_VERSION_NUMBER < 0x10100000L > if ((p->ctx = SSL_CTX_new(TLSv1_client_method())) == NULL) >+#else >+ if ((p->ctx = SSL_CTX_new(TLS_client_method())) == NULL) > #endif >@@ -584,8 +584,10 @@ > ccpacket *p = NULL; > >-#ifndef USING_AXTLS >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > SSL_load_error_strings(); > SSL_library_init(); >+#elif !defined USING_AXTLS >+ OPENSSL_init_ssl(0, NULL); > #endif > > if ((p = (ccpacket *)calloc(1, sizeof(ccpacket))) == NULL) {
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 650224
: 523518