зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1767934 - land NSS NSS_3_79_BETA2 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D146927
This commit is contained in:
Родитель
9146fefcba
Коммит
25a557ba16
|
@ -1 +1 @@
|
|||
2efccbd85918
|
||||
NSS_3_79_BETA2
|
|
@ -219,7 +219,7 @@ decode(FILE *out, SECItem *input, const struct decodeOptionsStr *decodeOptions)
|
|||
switch (typetag) {
|
||||
case SEC_OID_PKCS7_SIGNED_DATA: {
|
||||
NSSCMSSignedData *sigd = NULL;
|
||||
SECItem **digests;
|
||||
SECItem **digests = NULL;
|
||||
int nsigners;
|
||||
int j;
|
||||
|
||||
|
|
|
@ -10,4 +10,3 @@
|
|||
*/
|
||||
|
||||
#error "Do not include this header file."
|
||||
|
||||
|
|
|
@ -239,7 +239,7 @@ NSS_CMSDigestContext_FinishSingle(NSSCMSDigestContext *cmsdigcx,
|
|||
SECItem *digest)
|
||||
{
|
||||
SECStatus rv = SECFailure;
|
||||
SECItem **dp;
|
||||
SECItem **dp = NULL;
|
||||
PLArenaPool *arena = NULL;
|
||||
|
||||
if ((arena = PORT_NewArena(1024)) == NULL)
|
||||
|
@ -247,7 +247,7 @@ NSS_CMSDigestContext_FinishSingle(NSSCMSDigestContext *cmsdigcx,
|
|||
|
||||
/* get the digests into arena, then copy the first digest into poolp */
|
||||
rv = NSS_CMSDigestContext_FinishMultiple(cmsdigcx, arena, &dp);
|
||||
if (rv == SECSuccess) {
|
||||
if (rv == SECSuccess && dp) {
|
||||
/* now copy it into poolp */
|
||||
rv = SECITEM_CopyItem(poolp, digest, dp[0]);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче