diff options
author | Moonchild <moonchild@palemoon.org> | 2022-01-14 19:30:51 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-01-14 19:30:51 +0000 |
commit | 25ce52cd22178dab181765201237fe0a807c2f4a (patch) | |
tree | 614da9fec82d380768602f0b800f07a4060eb214 | |
parent | 1c6c5c81bc2f9789067431878558dd94642b9907 (diff) | |
download | aura-central-25ce52cd22178dab181765201237fe0a807c2f4a.tar.gz |
[NSS] check for missing signedData field and bump version
-rw-r--r-- | CLOBBER | 2 | ||||
-rw-r--r-- | libs/nss/src/lib/nss/nss.h | 4 | ||||
-rw-r--r-- | libs/nss/src/lib/pkcs7/certread.c | 5 | ||||
-rw-r--r-- | libs/nss/src/lib/softoken/softkver.h | 4 | ||||
-rw-r--r-- | libs/nss/src/lib/util/nssutil.h | 4 |
5 files changed, 12 insertions, 7 deletions
@@ -22,4 +22,4 @@ # changes to stick? As of bug 928195, this shouldn't be necessary! Please # don't change CLOBBER for WebIDL changes any more. -Clobber for Top-level Components +Clobber for NSS update
\ No newline at end of file diff --git a/libs/nss/src/lib/nss/nss.h b/libs/nss/src/lib/nss/nss.h index 967e20147..58ce4a389 100644 --- a/libs/nss/src/lib/nss/nss.h +++ b/libs/nss/src/lib/nss/nss.h @@ -22,10 +22,10 @@ * The format of the version string should be * "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]" */ -#define NSS_VERSION "3.52.2" _NSS_CUSTOMIZED +#define NSS_VERSION "3.52.3" _NSS_CUSTOMIZED #define NSS_VMAJOR 3 #define NSS_VMINOR 52 -#define NSS_VPATCH 2 +#define NSS_VPATCH 3 #define NSS_VBUILD 0 #define NSS_BETA PR_FALSE diff --git a/libs/nss/src/lib/pkcs7/certread.c b/libs/nss/src/lib/pkcs7/certread.c index 3091f9947..15094f2d7 100644 --- a/libs/nss/src/lib/pkcs7/certread.c +++ b/libs/nss/src/lib/pkcs7/certread.c @@ -139,6 +139,11 @@ SEC_ReadPKCS7Certs(SECItem *pkcs7Item, CERTImportCertificateFunc f, void *arg) goto done; } + if (contentInfo.content.signedData == NULL) { + PORT_SetError(SEC_ERROR_BAD_DER); + goto done; + } + rv = SECSuccess; certs = contentInfo.content.signedData->certificates; diff --git a/libs/nss/src/lib/softoken/softkver.h b/libs/nss/src/lib/softoken/softkver.h index 056b7da7a..9c1a6bdb0 100644 --- a/libs/nss/src/lib/softoken/softkver.h +++ b/libs/nss/src/lib/softoken/softkver.h @@ -17,10 +17,10 @@ * The format of the version string should be * "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]" */ -#define SOFTOKEN_VERSION "3.52.2" SOFTOKEN_ECC_STRING +#define SOFTOKEN_VERSION "3.52.3" SOFTOKEN_ECC_STRING #define SOFTOKEN_VMAJOR 3 #define SOFTOKEN_VMINOR 52 -#define SOFTOKEN_VPATCH 2 +#define SOFTOKEN_VPATCH 3 #define SOFTOKEN_VBUILD 0 #define SOFTOKEN_BETA PR_FALSE diff --git a/libs/nss/src/lib/util/nssutil.h b/libs/nss/src/lib/util/nssutil.h index 1e147b4a4..968c99f28 100644 --- a/libs/nss/src/lib/util/nssutil.h +++ b/libs/nss/src/lib/util/nssutil.h @@ -19,10 +19,10 @@ * The format of the version string should be * "<major version>.<minor version>[.<patch level>[.<build number>]][ <Beta>]" */ -#define NSSUTIL_VERSION "3.52.2" +#define NSSUTIL_VERSION "3.52.3" #define NSSUTIL_VMAJOR 3 #define NSSUTIL_VMINOR 52 -#define NSSUTIL_VPATCH 2 +#define NSSUTIL_VPATCH 3 #define NSSUTIL_VBUILD 0 #define NSSUTIL_BETA PR_FALSE |