mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -94,12 +94,8 @@ sec_asn1e_push_state(SEC_ASN1EncoderContext *cx,
|
|||
{
|
||||
sec_asn1e_state *state, *new_state;
|
||||
|
||||
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) {
|
||||
|
|
@ -706,10 +702,6 @@ 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