[gnome-documents/gnome-3-14] gnome-documents.in: Disable SSLv3 because of POODLE



commit bd276764b60833791161d74fc45d5e7109065de0
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Nov 11 14:35:45 2014 +0100

    gnome-documents.in: Disable SSLv3 because of POODLE
    
    Since we are using WebKit1, we need to set the environment variable
    ourself. In WebKit2, the network process handles it for us.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739787

 src/gnome-documents.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-documents.in b/src/gnome-documents.in
index ace43af..53b89de 100644
--- a/src/gnome-documents.in
+++ b/src/gnome-documents.in
@@ -4,6 +4,10 @@ export GJS_PATH="@pkgdatadir@/js${GJS_PATH:+:$GJS_PATH}"
 export GI_TYPELIB_PATH="@pkglibdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
 export LD_LIBRARY_PATH="@pkglibdir ${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
 
+if test x"$G_TLS_GNUTLS_PRIORITY" = x ; then
+    export G_TLS_GNUTLS_PRIORITY="NORMAL:%COMPAT:!VERS-SSL3.0"
+fi
+
 if test x"$GJS_DEBUG_OUTPUT" = x ; then
     export GJS_DEBUG_OUTPUT=stderr
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]