summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2014-11-11 14:13:16 +0100
committerDebarshi Ray <debarshir@gnome.org>2014-11-11 15:13:46 +0100
commit1a4337bfdb856e1f8791a510a8904bac5eefd58d (patch)
tree3222d12147a8e04ed89c8f349e32f3868b57cd22 /shell
parent0c06e9162fccac00547a3f304ad225b789f2ac97 (diff)
downloadgnome-control-center-1a4337bfdb856e1f8791a510a8904bac5eefd58d.tar.gz
main: Disable SSLv3 because of POODLE
Since GOA is still using WebKit1, we need to set the environment variable ourself. We can stop setting it once we port to WebKit2 because the network process will handle it for us. https://bugzilla.gnome.org/show_bug.cgi?id=739960
Diffstat (limited to 'shell')
-rw-r--r--shell/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 3bf139e69..2eec2f558 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -37,6 +37,9 @@ main (int argc, char **argv)
GtkApplication *application;
int status;
+ /* FIXME: remove this when GOA uses WebKit2 */
+ g_setenv("G_TLS_GNUTLS_PRIORITY", "NORMAL:%COMPAT:!VERS-SSL3.0", FALSE);
+
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);