Author: pierre
Date: Sat Jan  7 09:29:31 2017
New Revision: 18150

Log:
Fix ECDSA code in mozilla apps,
so that more web sites are accessible. From upstream, thanks to DJ Lucas.

Modified:
   trunk/BOOK/xsoft/graphweb/firefox.xml
   trunk/BOOK/xsoft/graphweb/seamonkey.xml
   trunk/BOOK/xsoft/other/thunderbird.xml

Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
==============================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml       Fri Jan  6 22:31:28 2017        
(r18149)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml       Sat Jan  7 09:29:31 2017        
(r18150)
@@ -294,7 +294,9 @@
 export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse 
-fno-schedule-insns2" &&
 export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse 
-fno-schedule-insns2" &&
 -->
-<screen><userinput>make -f client.mk</userinput></screen>
+<screen><userinput>sed -e 's/256/224/'                           \
+    -i netwerk/protocol/http/Http2Session.cpp &amp;&amp;
+make -f client.mk</userinput></screen>
 
     <para>
       This package does not come with a test suite.
@@ -323,13 +325,13 @@
 
   <sect2 role="commands">
     <title>Command Explanations</title>
-<!--
+
     <para>
-      <command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
-      code which gcc6 would otherwise regard as out-of-specification and allow
-      it to produce a working program.
+      <command>sed -e 's/256/224/' ...</command>: Make the required key
+      length for ECDSA encryption compatible with RFC7540 9.2.1. Otherwise
+      some web sites cannot be accessed.
     </para>
--->
+
     <para>
       <command>make -f client.mk ...</command>: Mozilla products are packaged 
to
       allow the use of a configuration file which can be used to pass the

Modified: trunk/BOOK/xsoft/graphweb/seamonkey.xml
==============================================================================
--- trunk/BOOK/xsoft/graphweb/seamonkey.xml     Fri Jan  6 22:31:28 2017        
(r18149)
+++ trunk/BOOK/xsoft/graphweb/seamonkey.xml     Sat Jan  7 09:29:31 2017        
(r18150)
@@ -271,6 +271,8 @@
 export CXXFLAGS+=$EXTRA_FLAGS &amp;&amp;
 unset EXTRA_FLAGS             &amp;&amp;
 
+sed -e 's/256/224/'                                   \
+    -i mozilla/netwerk/protocol/http/Http2Session.cpp &amp;&amp;
 make -f client.mk</userinput></screen>
 
     <para>
@@ -326,6 +328,12 @@
     </para>
 
     <para>
+      <command>sed -e 's/256/224/' ...</command>: Make the required key
+      length for ECDSA encryption compatible with RFC7540 9.2.1. Otherwise
+      some web sites cannot be accessed.
+    </para>
+
+    <para>
       <command>make -f client.mk</command>: Mozilla products are packaged to
       allow the use of a configuration file which can be used to pass the
       configuration settings to the <command>configure</command> command.

Modified: trunk/BOOK/xsoft/other/thunderbird.xml
==============================================================================
--- trunk/BOOK/xsoft/other/thunderbird.xml      Fri Jan  6 22:31:28 2017        
(r18149)
+++ trunk/BOOK/xsoft/other/thunderbird.xml      Sat Jan  7 09:29:31 2017        
(r18150)
@@ -265,6 +265,8 @@
     print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
     -i mozilla/nsprpub/config/make-system-wrappers.pl &amp;&amp;
 
+sed -e 's/256/224/'                                   \
+    -i mozilla/netwerk/protocol/http/Http2Session.cpp &amp;&amp;
 
 make -f client.mk</userinput></screen>
 
@@ -310,6 +312,12 @@
     </para>
 
     <para>
+      <command>sed -e 's/256/224/' ...</command>: Make the required key
+      length for ECDSA encryption compatible with RFC7540 9.2.1. Otherwise
+      some web sites cannot be accessed.
+    </para>
+
+    <para>
       <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
       settings work around code which gcc6 would otherwise regard as
       out-of-specification and allow it to produce a working program.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to