mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -94,8 +94,12 @@ sec_asn1e_push_state(SEC_ASN1EncoderContext *cx,
|
|||
{
|
||||
sec_asn1e_state *state, *new_state;
|
||||
|
||||
state = cx->current;
|
||||
if (theTemplate == NULL) {
|
||||
cx->status = encodeError;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
state = cx->current;
|
||||
new_state = (sec_asn1e_state *)PORT_ArenaZAlloc(cx->our_pool,
|
||||
sizeof(*new_state));
|
||||
if (new_state == NULL) {
|
||||
|
|
@ -702,6 +706,10 @@ sec_asn1e_contents_length(const SEC_ASN1Template *theTemplate, void *src,
|
|||
}
|
||||
break;
|
||||
|
||||
case SEC_ASN1_NULL:
|
||||
len = 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
len = ((SECItem *)src)->len;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue