This commit is contained in:
jpierre%netscape.com 2002-09-16 23:25:04 +00:00
Родитель 399042088f
Коммит 7a47c3326d
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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)