mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
NSS/NSPR update to 3.37.1/4.19
This commit is contained in:
parent
66a913dac5
commit
4379b89abb
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="nspr"
|
PKG_NAME="nspr"
|
||||||
PKG_VERSION="4.13.1"
|
PKG_VERSION="4.19"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="Mozilla Public License"
|
PKG_LICENSE="Mozilla Public License"
|
||||||
PKG_SITE="http://www.linuxfromscratch.org/blfs/view/svn/general/nspr.html"
|
PKG_SITE="http://www.linuxfromscratch.org/blfs/view/svn/general/nspr.html"
|
||||||
|
@ -19,12 +19,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="nss"
|
PKG_NAME="nss"
|
||||||
PKG_VERSION="3.29.5"
|
PKG_VERSION="3.37.1"
|
||||||
PKG_SHA256="8cb8624147737d1b4587c50bf058afbb6effc0f3c205d69b5ef4077b3bfed0e4"
|
PKG_SHA256="5ac4a388b06b2785fb7f4f0ae3c909d8cbb2ab370147ff61fe2517cc5bf3c685"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="Mozilla Public License"
|
PKG_LICENSE="Mozilla Public License"
|
||||||
PKG_SITE="http://ftp.mozilla.org/"
|
PKG_SITE="http://ftp.mozilla.org/"
|
||||||
PKG_URL="http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_29_5_RTM/src/nss-3.29.5-with-nspr-4.13.1.tar.gz"
|
PKG_URL="http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_37_1_RTM/src/nss-3.37.1-with-nspr-4.19.tar.gz"
|
||||||
PKG_DEPENDS_HOST="nspr:host zlib:host"
|
PKG_DEPENDS_HOST="nspr:host zlib:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain nss:host nspr zlib sqlite"
|
PKG_DEPENDS_TARGET="toolchain nss:host nspr zlib sqlite"
|
||||||
PKG_SECTION="security"
|
PKG_SECTION="security"
|
||||||
|
@ -237,5 +237,5 @@ Description: Adds auto-generated nss.pc and nss-config script, and a
|
|||||||
|
|
||||||
RELEASE = nss
|
RELEASE = nss
|
||||||
|
|
||||||
-DIRS = coreconf lib cmd gtests
|
-DIRS = coreconf lib cmd cpputil gtests
|
||||||
+DIRS = coreconf lib cmd config
|
+DIRS = coreconf lib cmd config
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
From a1d2ef6a8e1bc721e44640bdb85747deaf8edcca Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Wed, 19 Apr 2017 10:50:37 -0700
|
|
||||||
Subject: [PATCH] Fix warnings found with gcc7
|
|
||||||
|
|
||||||
GCC7 finds more type conversion issues
|
|
||||||
|
|
||||||
| pkix_pl_ocsprequest.c: In function 'pkix_pl_OcspRequest_Hashcode':
|
|
||||||
| pkix_pl_ocsprequest.c:92:60: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
|
|
||||||
| *pHashcode = (((((extensionHash << 8) || certHash) << 8) ||
|
|
||||||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
|
|
||||||
| pkix_pl_ocsprequest.c:93:27: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
|
|
||||||
| *pHashcode = (((((extensionHash << 8) || certHash) << 8) ||
|
|
||||||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
| dateHash) << 8) || signerHash;
|
|
||||||
| ~~~~~~~~~~^~~~~
|
|
||||||
| cc1: all warnings being treated as errors
|
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c b/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c
|
|
||||||
index 171a3d2..d5eef88 100644
|
|
||||||
--- a/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c
|
|
||||||
+++ b/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c
|
|
||||||
@@ -89,7 +89,7 @@ pkix_pl_OcspRequest_Hashcode(
|
|
||||||
PKIX_HASHCODE(ocspRq->signerCert, &signerHash, plContext,
|
|
||||||
PKIX_CERTHASHCODEFAILED);
|
|
||||||
|
|
||||||
- *pHashcode = (((((extensionHash << 8) || certHash) << 8) ||
|
|
||||||
+ *pHashcode = ((PKIX_UInt32)(((PKIX_UInt32)((extensionHash << 8) || certHash) << 8) ||
|
|
||||||
dateHash) << 8) || signerHash;
|
|
||||||
|
|
||||||
cleanup:
|
|
||||||
--
|
|
||||||
2.12.2
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
|
||||||
|
index e6a94d35c..0c714c85c 100644
|
||||||
|
--- a/nss/lib/freebl/Makefile
|
||||||
|
+++ b/nss/lib/freebl/Makefile
|
||||||
|
@@ -535,12 +535,14 @@ ifeq (,$(filter-out i386 x386 x86 x86_64 aarch64,$(CPU_ARCH)))
|
||||||
|
# All intel architectures get the 64 bit version
|
||||||
|
# With custom uint128 if necessary (faster than generic 32 bit version).
|
||||||
|
ECL_SRCS += curve25519_64.c
|
||||||
|
- VERIFIED_SRCS += Hacl_Curve25519.c FStar.c
|
||||||
|
+ VERIFIED_SRCS += Hacl_Curve25519.c
|
||||||
|
else
|
||||||
|
# All non intel architectures get the generic 32 bit implementation (slow!)
|
||||||
|
ECL_SRCS += curve25519_32.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
+VERIFIED_SRCS += FStar.c
|
||||||
|
+
|
||||||
|
#######################################################################
|
||||||
|
# (5) Execute "global" rules. (OPTIONAL) #
|
||||||
|
#######################################################################
|
Loading…
x
Reference in New Issue
Block a user