Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 529810 Details for
Bug 562050
dev-qt/qtnetwork add libressl support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
my patch to compile dev-qt/qtnetwork-5.11.9999::qt against dev-libs/libressl-2.7.2
qtnetwork-5.11-libressl-2.7.patch (text/plain), 2.88 KB, created by
jospezial
on 2018-05-05 06:18:45 UTC
(
hide
)
Description:
my patch to compile dev-qt/qtnetwork-5.11.9999::qt against dev-libs/libressl-2.7.2
Filename:
MIME Type:
Creator:
jospezial
Created:
2018-05-05 06:18:45 UTC
Size:
2.88 KB
patch
obsolete
>--- a/config.tests/unix/openssl11/openssl.cpp 2017-11-05 16:07:40.963385070 -0500 >+++ b/config.tests/unix/openssl11/openssl.cpp 2017-11-05 16:07:51.755255545 -0500 >@@ -39,7 +39,7 @@ > > #include <openssl/opensslv.h> > >-#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10100000L >+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) > # error "OpenSSL >= 1.1 is required" > #endif > > >diff --git a/src/network/ssl/qsslcontext_openssl.cpp b/src/network/ssl/qsslcontext_openssl.cpp >index 41b759364b..17ce5b4b30 100644 >--- a/src/network/ssl/qsslcontext_openssl.cpp >+++ b/src/network/ssl/qsslcontext_openssl.cpp >@@ -248,7 +248,7 @@ void QSslContext::applyBackendConfig(QSslContext *sslContext) > if (sslContext->sslConfiguration.backendConfiguration().isEmpty()) > return; > >-#if OPENSSL_VERSION_NUMBER >= 0x10002000L >+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) > if (QSslSocket::sslLibraryVersionNumber() >= 0x10002000L) { > QSharedPointer<SSL_CONF_CTX> cctx(q_SSL_CONF_CTX_new(), &q_SSL_CONF_CTX_free); > if (cctx) { > >diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp >index 82ff5e9e3a..77e5d03b7d 100644 >--- a/src/network/ssl/qsslsocket_openssl_symbols.cpp >+++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp >@@ -402,7 +402,7 @@ DEFINEFUNC2(int, SSL_CTX_use_PrivateKey, SSL_CTX *a, a, EVP_PKEY *b, b, return - > DEFINEFUNC2(int, SSL_CTX_use_RSAPrivateKey, SSL_CTX *a, a, RSA *b, b, return -1, return) > DEFINEFUNC3(int, SSL_CTX_use_PrivateKey_file, SSL_CTX *a, a, const char *b, b, int c, c, return -1, return) > DEFINEFUNC(X509_STORE *, SSL_CTX_get_cert_store, const SSL_CTX *a, a, return 0, return) >-#if OPENSSL_VERSION_NUMBER >= 0x10002000L >+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) > DEFINEFUNC(SSL_CONF_CTX *, SSL_CONF_CTX_new, DUMMYARG, DUMMYARG, return 0, return); > DEFINEFUNC(void, SSL_CONF_CTX_free, SSL_CONF_CTX *a, a, return ,return); > DEFINEFUNC2(void, SSL_CONF_CTX_set_ssl_ctx, SSL_CONF_CTX *a, a, SSL_CTX *b, b, return, return); >diff --git a/src/network/ssl/qsslsocket_openssl_symbols_p.h b/src/network/ssl/qsslsocket_openssl_symbols_p.h >index 4fb8f26cf6..3a7de93113 100644 >--- a/src/network/ssl/qsslsocket_openssl_symbols_p.h >+++ b/src/network/ssl/qsslsocket_openssl_symbols_p.h >@@ -352,7 +352,7 @@ int q_SSL_CTX_use_PrivateKey(SSL_CTX *a, EVP_PKEY *b); > int q_SSL_CTX_use_RSAPrivateKey(SSL_CTX *a, RSA *b); > int q_SSL_CTX_use_PrivateKey_file(SSL_CTX *a, const char *b, int c); > X509_STORE *q_SSL_CTX_get_cert_store(const SSL_CTX *a); >-#if OPENSSL_VERSION_NUMBER >= 0x10002000L >+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) > SSL_CONF_CTX *q_SSL_CONF_CTX_new(); > void q_SSL_CONF_CTX_free(SSL_CONF_CTX *a); > void q_SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *a, SSL_CTX *b);
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 562050
:
413512
|
413514
|
414236
|
428320
|
430294
|
430296
|
437876
|
462288
|
502750
|
502766
|
502770
|
502778
|
529810
|
554572
|
554574
|
555740
|
558324
|
580336
|
663100