Hello community, here is the log from the commit of package mozilla-nss for openSUSE:Factory checked in at 2017-03-21 22:44:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozilla-nss (Old) and /work/SRC/openSUSE:Factory/.mozilla-nss.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozilla-nss" Tue Mar 21 22:44:19 2017 rev:123 rq:480619 version:3.28.3 Changes: -------- --- /work/SRC/openSUSE:Factory/mozilla-nss/mozilla-nss.changes 2017-02-22 13:51:30.369636683 +0100 +++ /work/SRC/openSUSE:Factory/.mozilla-nss.new/mozilla-nss.changes 2017-03-21 22:44:21.466817939 +0100 @@ -1,0 +2,6 @@ +Thu Mar 16 09:11:53 UTC 2017 - rguent...@suse.com + +- Add nss-fix-hash.patch to fix hash computation (and build with + GCC 7 which complains about shifts of boolean values). + +------------------------------------------------------------------- New: ---- nss-fix-hash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozilla-nss.spec ++++++ --- /var/tmp/diff_new_pack.cucZzF/_old 2017-03-21 22:44:23.562521657 +0100 +++ /var/tmp/diff_new_pack.cucZzF/_new 2017-03-21 22:44:23.566521092 +0100 @@ -56,6 +56,7 @@ Patch6: malloc.patch Patch7: nss-disable-ocsp-test.patch Patch8: nss-sqlitename.patch +Patch9: nss-fix-hash.patch %define nspr_ver %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) PreReq: mozilla-nspr >= %nspr_ver PreReq: libfreebl3 >= %{nss_softokn_fips_version} @@ -176,6 +177,7 @@ %endif %patch7 -p1 %patch8 -p1 +%patch9 -p1 # additional CA certificates #cd security/nss/lib/ckfw/builtins #cat %{SOURCE2} >> certdata.txt ++++++ nss-fix-hash.patch ++++++ --- nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c.orig 2017-03-16 09:01:59.024372645 +0000 +++ nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c 2017-03-16 09:02:37.280938434 +0000 @@ -89,8 +89,8 @@ PKIX_HASHCODE(ocspRq->signerCert, &signerHash, plContext, PKIX_CERTHASHCODEFAILED); - *pHashcode = (((((extensionHash << 8) || certHash) << 8) || - dateHash) << 8) || signerHash; + *pHashcode = (((((extensionHash << 8) | certHash) << 8) | + dateHash) << 8) | signerHash; cleanup: