Closed
Bug 158239
Opened 23 years ago
Closed 23 years ago
SEC_FindCrlByKeyOnSlot could do a partial CRL decode
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.6
People
(Reporter: julien.pierre, Assigned: julien.pierre)
References
Details
Attachments
(1 file)
There is no need to do a full decode in this case, since we don't need the entries.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
This patches optimizes SEC_FindCrlByKeyOnSlot, which is notably used in
crl_storeCRL to skip the unnecessary decoding of entries. This can be done
because both of these functions are unexported.
This patch modifies SEC_FindCrlByName which is an exported function, and calls
SEC_FindCrlByKeyOnSlot. The change is to complete the CRL decoding so that it
still returns a fully-decoded CRL.
Assignee | ||
Comment 2•23 years ago
|
||
I have implemented this optimization in a different way in the CRL cache
implementation. SEC_FindCrlByKeyOnSlot now takes the decodeoptions as an
argument. crl_storeCrl passes CRL_DECODE_SKIP_ENTRIES to do the partial decode.
Marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•