On 10/08/2012 08:40 PM, Ivan Shmakov wrote:

>       X.680 reads (ยง12.1):
> 
> ModuleIdentifier ::=
>     modulereference
>     DefinitiveIdentifier
> 
> DefinitiveIdentifier ::=
>     "{" DefinitiveObjIdComponentList "}"
>   | empty
> 
>       Thus, I'd assume that the following ASN.1 definition (with
>       DefinitiveIdentifier = empty) is perfectly valid:
> $ cat < asn.1 
> Example DEFINITIONS EXPLICIT TAGS ::=


You could add an empty {} after the Example instead. However you seem
correct. It should have been accepted. I've committed a fix:
http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commitdiff;h=d154578295f0fda35cf0a1ec78648f7ec581bbed

regards,
Nikos

Reply via email to