diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-24 21:32:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-24 21:55:28 -0300 |
commit | 130ff1dd48bf572da166d4e6a4ce7d71719aa429 (patch) | |
tree | 37b5d9564000b76e2025498c82b9b8e27b6ccd9c /libre/qt5-webengine/qt5-webengine-nss.patch | |
parent | 5aec64378882d980975ad6e931ad3b1a967809ea (diff) | |
download | abslibre-130ff1dd48bf572da166d4e6a4ce7d71719aa429.tar.gz abslibre-130ff1dd48bf572da166d4e6a4ce7d71719aa429.tar.bz2 abslibre-130ff1dd48bf572da166d4e6a4ce7d71719aa429.zip |
qt5-webengine: add an emergency package (without nonfree codecs) to begin fixing several nonfree issues - Freedom issue #1167 -> https://labs.parabola.nu/issues/1167
Diffstat (limited to 'libre/qt5-webengine/qt5-webengine-nss.patch')
-rw-r--r-- | libre/qt5-webengine/qt5-webengine-nss.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/qt5-webengine/qt5-webengine-nss.patch b/libre/qt5-webengine/qt5-webengine-nss.patch new file mode 100644 index 000000000..6c0cdf1c7 --- /dev/null +++ b/libre/qt5-webengine/qt5-webengine-nss.patch @@ -0,0 +1,31 @@ +diff -ur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/net/socket/ssl_client_socket_openssl.cc +qtwebengine-opensource-src-5.6.0-beta-chimera-nss-init/src/3rdparty/chromium/net/socket/ssl_client_socket_openssl.cc +--- qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/net/socket/ssl_client_socket_openssl.cc 2015-12-10 18:17:21.000000000 +0100 ++++ qtwebengine-opensource-src-5.6.0-beta-chimera-nss-init/src/3rdparty/chromium/net/socket/ssl_client_socket_openssl.cc 2016-01-14 +17:11:38.432633534 +0100 +@@ -57,6 +57,10 @@ + #include "net/ssl/ssl_platform_key.h" + #endif + ++#if defined(USE_NSS_CERTS) || defined(OS_IOS) ++#include "net/cert_net/nss_ocsp.h" ++#endif ++ + namespace net { + + namespace { +@@ -795,6 +799,14 @@ + DCHECK(!ssl_); + DCHECK(!transport_bio_); + ++#if defined(USE_NSS_CERTS) || defined(OS_IOS) ++ if (ssl_config_.cert_io_enabled) { ++ // TODO(davidben): Move this out of SSLClientSocket. See ++ // https://crbug.com/539520. ++ EnsureNSSHttpIOInit(); ++ } ++#endif ++ + SSLContext* context = SSLContext::GetInstance(); + crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); + |