mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 23:15:38 +00:00
Fix UMC in Purify
This commit is contained in:
parent
4b0d8710d7
commit
b6bb993d1b
@ -853,6 +853,7 @@ pk11_CollectCrls(PK11SlotInfo *slot, CK_OBJECT_HANDLE crlID, void *arg)
|
||||
|
||||
new_node->type = *((CK_BBOOL *)fetchCrl[1].pValue) ?
|
||||
SEC_KRL_TYPE : SEC_CRL_TYPE;
|
||||
derCrl.type = 0;
|
||||
derCrl.data = (unsigned char *)fetchCrl[0].pValue;
|
||||
derCrl.len = fetchCrl[0].ulValueLen;
|
||||
new_node->crl=CERT_DecodeDERCrl(head->arena,&derCrl,new_node->type);
|
||||
|
@ -115,6 +115,7 @@ static SECStatus GetItem(SECItem* src, SECItem* dest, PRBool includeTag)
|
||||
return SECSuccess;
|
||||
}
|
||||
|
||||
dest->type = 0;
|
||||
dest->data = definite_length_decoder(src->data, src->len, &dest->len,
|
||||
includeTag);
|
||||
if (dest->data == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user