[firefox] Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox

Martin Stransky stransky at fedoraproject.org
Thu Oct 17 10:28:39 UTC 2013


commit c6c7068dae2eaaa20ec3341ce93d859e7585417e
Author: Martin Stransky <stransky at redhat.com>
Date:   Thu Oct 17 12:28:30 2013 +0200

    Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox

 firefox.sh.in |    6 +++++-
 firefox.spec  |    5 ++++-
 2 files changed, 9 insertions(+), 2 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
diff --git a/firefox.spec b/firefox.spec
index 1931d92..c3ed5a4 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -58,7 +58,7 @@
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        24.0
-Release:        1%{?pre_tag}%{?dist}
+Release:        2%{?pre_tag}%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -443,6 +443,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #---------------------------------------------------------------------
 
 %changelog
+* Thu Oct 17 2013 Martin Stransky <stransky at redhat.com> - 24.0-2
+- Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox
+
 * Fri Sep 13 2013 Martin Stransky <stransky at redhat.com> - 24.0-1
 - Update to 24.0
 


More information about the scm-commits mailing list