Open Bug 289649 Opened 19 years ago Updated 2 years ago

Can not decode CRL using classic ASN.1 decoder: unable to decode OPTIONAL INLINE templates

Categories

(NSS :: Libraries, enhancement, P4)

3.9.5
enhancement

Tracking

(Not tracked)

People

(Reporter: julien.pierre, Unassigned)

Details

This is a counterpart to bug 280121 .
I recently enhanced the classic ASN.1 encoder so that it could work with a
limited set of templates using the INLINE and OPTIONAL syntax. It only works if
the subtemplate is for a primitive type, or a choice of primitive types.

For consistency, it would be desirable to have the classic ASN.1 decoder support
this as well. There is no urgency, because CRLs are normally decoded with the
QuickDER decode, which supports this syntax without limitations.
Change summary to say "decode" instead of "encode"
Summary: Can not decode CRL using classic ASN.1 encoder: unable to decode with the combination of SEC_ASN1_INLINE | SEC_ASN1_OPTIONAL template flags. → Can not decode CRL using classic ASN.1 decoder: unable to decode OPTIONAL INLINE templates
QA Contact: bishakhabanerjee → jason.m.reid
Assignee: wtchang → nobody
QA Contact: jason.m.reid → libraries
Priority: -- → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.