Title: [250217] trunk/Source/WebKit
- Revision
- 250217
- Author
- [email protected]
- Date
- 2019-09-23 02:05:16 -0700 (Mon, 23 Sep 2019)
Log Message
[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: trunk/Source/WebKit/ChangeLog (250216 => 250217)
--- trunk/Source/WebKit/ChangeLog 2019-09-23 08:49:11 UTC (rev 250216)
+++ trunk/Source/WebKit/ChangeLog 2019-09-23 09:05:16 UTC (rev 250217)
@@ -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-21 Dan Bernstein <[email protected]>
Fix an assertion failure introduced in r250186.
Modified: trunk/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp (250216 => 250217)
--- trunk/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2019-09-23 08:49:11 UTC (rev 250216)
+++ trunk/Source/WebKit/NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp 2019-09-23 09:05:16 UTC (rev 250217)
@@ -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: trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp (250216 => 250217)
--- trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2019-09-23 08:49:11 UTC (rev 250216)
+++ trunk/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp 2019-09-23 09:05:16 UTC (rev 250217)
@@ -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