Title: [250226] releases/WebKitGTK/webkit-2.26/Source/WebKit
- Revision
- 250226
- Author
- [email protected]
- Date
- 2019-09-23 03:14:48 -0700 (Mon, 23 Sep 2019)
Log Message
Merge r250217 - [SOUP] Stop setting G_TLS_GNUTLS_PRIORITY
https://bugs.webkit.org/show_bug.cgi?id=172154
Reviewed by Carlos Garcia Campos.
Nowadays, I maintain glib-networking. WebKit doesn't need to override its defaults to be
secure anymore. By overriding glib-networking's default priority, WebKit is force-reenabling
TLS 1.0 and TLS 1.1 even when glib-networking has disabled them.
* NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp:
(main):
* WebProcess/EntryPoint/unix/WebProcessMain.cpp:
(main):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.26/Source/WebKit/ChangeLog (250225 => 250226)
--- releases/WebKitGTK/webkit-2.26/Source/WebKit/ChangeLog 2019-09-23 10:14:45 UTC (rev 250225)
+++ releases/WebKitGTK/webkit-2.26/Source/WebKit/ChangeLog 2019-09-23 10:14:48 UTC (rev 250226)
@@ -1,3 +1,19 @@
+2019-09-23 Michael Catanzaro <[email protected]>
+
+ [SOUP] Stop setting G_TLS_GNUTLS_PRIORITY
+ https://bugs.webkit.org/show_bug.cgi?id=172154
+
+ Reviewed by Carlos Garcia Campos.
+
+ Nowadays, I maintain glib-networking. WebKit doesn't need to override its defaults to be
+ secure anymore. By overriding glib-networking's default priority, WebKit is force-reenabling
+ TLS 1.0 and TLS 1.1 even when glib-networking has disabled them.
+
+ * NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp:
+ (main):
+ * WebProcess/EntryPoint/unix/WebProcessMain.cpp:
+ (main):
+
2019-09-14 Adrian Perez de Castro <[email protected]>
[GTK][WPE] Check for a Snap sandbox a bit harder
Modified: releases/WebKitGTK/webkit-2.26/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp (250225 => 250226)
--- releases/WebKitGTK/webkit-2.26/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2019-09-23 10:14:45 UTC (rev 250225)
+++ releases/WebKitGTK/webkit-2.26/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2019-09-23 10:14:48 UTC (rev 250226)
@@ -35,16 +35,6 @@
int main(int argc, char** argv)
{
- // Disable SSLv3 very early because it is practically impossible to safely
- // use setenv() when multiple threads are running, as another thread calling
- // getenv() could cause a crash, and many functions use getenv() internally.
- // This workaround will stop working if glib-networking switches away from
- // GnuTLS or simply stops parsing this variable. We intentionally do not
- // overwrite this priority string if it's already set by the user.
- // https://bugzilla.gnome.org/show_bug.cgi?id=738633
- // WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
-
#if USE(GCRYPT)
PAL::GCrypt::initialize();
#endif
Modified: releases/WebKitGTK/webkit-2.26/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp (250225 => 250226)
--- releases/WebKitGTK/webkit-2.26/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2019-09-23 10:14:45 UTC (rev 250225)
+++ releases/WebKitGTK/webkit-2.26/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2019-09-23 10:14:48 UTC (rev 250226)
@@ -35,16 +35,6 @@
int main(int argc, char** argv)
{
- // Disable SSLv3 very early because it is practically impossible to safely
- // use setenv() when multiple threads are running, as another thread calling
- // getenv() could cause a crash, and many functions use getenv() internally.
- // This workaround will stop working if glib-networking switches away from
- // GnuTLS or simply stops parsing this variable. We intentionally do not
- // overwrite this priority string if it's already set by the user.
- // https://bugzilla.gnome.org/show_bug.cgi?id=738633
- // WARNING: This needs to be KEPT IN SYNC with WebProcessMain.cpp.
- setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0:!ARCFOUR-128", 0);
-
#if USE(GCRYPT)
PAL::GCrypt::initialize();
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes