mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Update NSS to 3.35-RTM
This commit is contained in:
parent
fe49ad404e
commit
66dd670b60
388 changed files with 39075 additions and 20752 deletions
|
|
@ -1854,6 +1854,8 @@ DecodeDBSMimeEntry(certDBEntrySMime *entry, SECItem *dbentry, char *emailAddr)
|
|||
&dbentry->data[DB_SMIME_ENTRY_HEADER_LEN +
|
||||
entry->subjectName.len],
|
||||
entry->smimeOptions.len);
|
||||
} else {
|
||||
entry->smimeOptions.data = NULL;
|
||||
}
|
||||
if (entry->optionsDate.len) {
|
||||
entry->optionsDate.data =
|
||||
|
|
@ -1868,6 +1870,8 @@ DecodeDBSMimeEntry(certDBEntrySMime *entry, SECItem *dbentry, char *emailAddr)
|
|||
entry->subjectName.len +
|
||||
entry->smimeOptions.len],
|
||||
entry->optionsDate.len);
|
||||
} else {
|
||||
entry->optionsDate.data = NULL;
|
||||
}
|
||||
|
||||
/* both options and options date must either exist or not exist */
|
||||
|
|
@ -2014,7 +2018,7 @@ nsslowcert_ReadDBSMimeEntry(NSSLOWCERTCertDBHandle *handle, char *emailAddr)
|
|||
{
|
||||
PLArenaPool *arena = NULL;
|
||||
PLArenaPool *tmparena = NULL;
|
||||
certDBEntrySMime *entry;
|
||||
certDBEntrySMime *entry = NULL;
|
||||
SECItem dbkey;
|
||||
SECItem dbentry;
|
||||
SECStatus rv;
|
||||
|
|
@ -2031,8 +2035,8 @@ nsslowcert_ReadDBSMimeEntry(NSSLOWCERTCertDBHandle *handle, char *emailAddr)
|
|||
goto loser;
|
||||
}
|
||||
|
||||
entry = (certDBEntrySMime *)PORT_ArenaAlloc(arena,
|
||||
sizeof(certDBEntrySMime));
|
||||
entry = (certDBEntrySMime *)PORT_ArenaZAlloc(arena,
|
||||
sizeof(certDBEntrySMime));
|
||||
if (entry == NULL) {
|
||||
PORT_SetError(SEC_ERROR_NO_MEMORY);
|
||||
goto loser;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue