summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2013-10-17 12:28:30 +0200
committerMartin Stransky <stransky@redhat.com>2013-10-17 12:28:30 +0200
commitc6c7068dae2eaaa20ec3341ce93d859e7585417e (patch)
tree7a5c82d717e61600c3a0dd4a01c2502de11032e5 /firefox.sh.in
parentremoved old langpacks (diff)
downloadlibrewolf-fedora-ff-c6c7068dae2eaaa20ec3341ce93d859e7585417e.tar.gz
librewolf-fedora-ff-c6c7068dae2eaaa20ec3341ce93d859e7585417e.tar.bz2
librewolf-fedora-ff-c6c7068dae2eaaa20ec3341ce93d859e7585417e.zip
Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 81d3cbb..00c33c4 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -196,7 +196,7 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
CURRENT_LOCALE=$LC_ALL
CURRENT_LOCALE=${CURRENT_LOCALE:-$LC_MESSAGES}
CURRENT_LOCALE=${CURRENT_LOCALE:-$LANG}
-
+
# Try with a local variant first, then without a local variant
SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g"`
MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g"`
@@ -222,6 +222,10 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
create_langpack_link $MOZLOCALE || create_langpack_link $SHORTMOZLOCALE || true
fi
+# BEAST fix (rhbz#1005611)
+NSS_SSL_CBC_RANDOM_IV=${NSS_SSL_CBC_RANDOM_IV-1}
+export NSS_SSL_CBC_RANDOM_IV
+
# Prepare command line arguments
script_args=""
pass_arg_count=0
bgstack15