mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
Fix ECDSA code in mozilla apps,
so that more web sites are accessible. From upstream, thanks to DJ Lucas. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18150 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ba27af988d
commit
7d09fcb9e4
@ -294,7 +294,9 @@ export CXXFLAGS_HOLD=$CXXFLAGS &&
|
||||
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 &&
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
@ -323,13 +325,13 @@ unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
||||
|
||||
<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
|
||||
|
@ -271,6 +271,8 @@ export CFLAGS+=$EXTRA_FLAGS &&
|
||||
export CXXFLAGS+=$EXTRA_FLAGS &&
|
||||
unset EXTRA_FLAGS &&
|
||||
|
||||
sed -e 's/256/224/' \
|
||||
-i mozilla/netwerk/protocol/http/Http2Session.cpp &&
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -325,6 +327,12 @@ unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
||||
out-of-specification and allow it to produce a working program.
|
||||
</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
|
||||
|
@ -265,6 +265,8 @@ sed -e '/#include/a\
|
||||
print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
||||
-i mozilla/nsprpub/config/make-system-wrappers.pl &&
|
||||
|
||||
sed -e 's/256/224/' \
|
||||
-i mozilla/netwerk/protocol/http/Http2Session.cpp &&
|
||||
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
@ -309,6 +311,12 @@ in case an editor figures out how to install the development environment.
|
||||
compatible with gcc6 by preventing c++ scope errors.
|
||||
</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
|
||||
|
Loading…
Reference in New Issue
Block a user