Closed russhousley closed 2 years ago
When you write this Foos
definition like this, I believe the size constraint applies to the Foo
object, and not the SEQUENCE OF one.
You are correct. The proper ASN.1 definition would be:
Foos ::= SEQUENCE SIZE (0..4) OF Foo
I put this line in a module:
The compiler does not complain about the syntax, but the Obj that gets created by the compiler has:
Am I correct that the size constraint is being ignored?