mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

Fix Qt5Network "Segmentation fault" error when running qBittorrent Compile-tested on: x86_64, ipq40xx Runtime-tested on: x86_64
20 lines
935 B
Diff
20 lines
935 B
Diff
--- a/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp 2019-10-25 15:16:48.000000000 +0800
|
|
+++ b/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp 2020-02-06 23:29:33.072453568 +0800
|
|
@@ -1376,12 +1376,12 @@
|
|
RESOLVEFUNC(SSL_select_next_proto)
|
|
RESOLVEFUNC(SSL_CTX_set_next_proto_select_cb)
|
|
RESOLVEFUNC(SSL_get0_next_proto_negotiated)
|
|
-#endif // OPENSSL_VERSION_NUMBER >= 0x1000100fL ...
|
|
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
|
- RESOLVEFUNC(SSL_set_alpn_protos)
|
|
- RESOLVEFUNC(SSL_CTX_set_alpn_select_cb)
|
|
- RESOLVEFUNC(SSL_get0_alpn_selected)
|
|
+ RESOLVEFUNC(SSL_set_alpn_protos)
|
|
+ RESOLVEFUNC(SSL_CTX_set_alpn_select_cb)
|
|
+ RESOLVEFUNC(SSL_get0_alpn_selected)
|
|
#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L ...
|
|
+#endif // OPENSSL_VERSION_NUMBER >= 0x1000100fL ...
|
|
#if QT_CONFIG(dtls)
|
|
RESOLVEFUNC(SSL_CTX_set_cookie_generate_cb)
|
|
RESOLVEFUNC(SSL_CTX_set_cookie_verify_cb)
|