mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
nss: update to 3.90
This commit is contained in:
parent
cb195158b2
commit
7f214a24b4
@ -3,8 +3,8 @@
|
|||||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="nss"
|
PKG_NAME="nss"
|
||||||
PKG_VERSION="3.89.1"
|
PKG_VERSION="3.90"
|
||||||
PKG_SHA256="7381c5524afc108dfcb66c72f12e85b8885b4af5250e516df9fb0a194e5b1ea3"
|
PKG_SHA256="f78ab1d911cae8bbc94758fb3bd0f731df4087423a4ff5db271ba65381f6b739"
|
||||||
PKG_LICENSE="Mozilla Public License"
|
PKG_LICENSE="Mozilla Public License"
|
||||||
PKG_SITE="http://ftp.mozilla.org/"
|
PKG_SITE="http://ftp.mozilla.org/"
|
||||||
PKG_URL="https://ftp.mozilla.org/pub/security/nss/releases/NSS_${PKG_VERSION//./_}_RTM/src/nss-${PKG_VERSION}-with-nspr-$(get_pkg_version nspr).tar.gz"
|
PKG_URL="https://ftp.mozilla.org/pub/security/nss/releases/NSS_${PKG_VERSION//./_}_RTM/src/nss-${PKG_VERSION}-with-nspr-$(get_pkg_version nspr).tar.gz"
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
diff --git a/nss/cmd/ecperf/ecperf.c b/nss/cmd/ecperf/ecperf.c
|
|
||||||
--- a/nss/cmd/ecperf/ecperf.c
|
|
||||||
+++ b/nss/cmd/ecperf/ecperf.c
|
|
||||||
@@ -51,10 +51,11 @@
|
|
||||||
int iters = threadData->iters;
|
|
||||||
unsigned char sigData[256];
|
|
||||||
SECItem sig;
|
|
||||||
CK_SESSION_HANDLE session;
|
|
||||||
CK_RV crv;
|
|
||||||
+ void *tmp = NULL;
|
|
||||||
|
|
||||||
threadData->status = SECSuccess;
|
|
||||||
threadData->count = 0;
|
|
||||||
|
|
||||||
/* get our thread's session */
|
|
||||||
@@ -66,10 +67,11 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
if (threadData->isSign) {
|
|
||||||
sig.data = sigData;
|
|
||||||
sig.len = sizeof(sigData);
|
|
||||||
+ tmp = threadData->p2;
|
|
||||||
threadData->p2 = (void *)&sig;
|
|
||||||
}
|
|
||||||
|
|
||||||
while (iters--) {
|
|
||||||
threadData->status = (*op)(session, threadData->p1,
|
|
||||||
@@ -77,27 +79,33 @@
|
|
||||||
if (threadData->status != SECSuccess) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
threadData->count++;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ if (threadData->isSign) {
|
|
||||||
+ threadData->p2 = tmp;
|
|
||||||
+ }
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
genericThread(void *data)
|
|
||||||
{
|
|
||||||
ThreadData *threadData = (ThreadData *)data;
|
|
||||||
int iters = threadData->iters;
|
|
||||||
unsigned char sigData[256];
|
|
||||||
SECItem sig;
|
|
||||||
+ void *tmp = NULL;
|
|
||||||
|
|
||||||
threadData->status = SECSuccess;
|
|
||||||
threadData->count = 0;
|
|
||||||
|
|
||||||
if (threadData->isSign) {
|
|
||||||
sig.data = sigData;
|
|
||||||
sig.len = sizeof(sigData);
|
|
||||||
+ tmp = threadData->p2;
|
|
||||||
threadData->p2 = (void *)&sig;
|
|
||||||
}
|
|
||||||
|
|
||||||
while (iters--) {
|
|
||||||
threadData->status = (*threadData->op)(threadData->p1,
|
|
||||||
@@ -105,10 +113,14 @@
|
|
||||||
if (threadData->status != SECSuccess) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
threadData->count++;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ if (threadData->isSign) {
|
|
||||||
+ threadData->p2 = tmp;
|
|
||||||
+ }
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Time iter repetitions of operation op. */
|
|
||||||
SECStatus
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user