Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error when using nameless NULL #12

Closed
jbulow opened this issue Nov 7, 2019 · 4 comments
Closed

syntax error when using nameless NULL #12

jbulow opened this issue Nov 7, 2019 · 4 comments
Assignees

Comments

@jbulow
Copy link

jbulow commented Nov 7, 2019

In a asn1 file usually compiled with objective systems asn1 compiler there is:

someSeq ::= SEQUENCE
{
  NULL
}

fast_ber chokes in this:

syntax error, unexpected ASN_NULL, expecting COMPONENTS or ... or } or GENERIC_IDENTIFIER_LOWERCASE

asn1c also compiles this declaration fine.

@Samuel-Tyler
Copy link
Owner

Thank you very much for taking the time to submit a bug report!

Are you able to share your ASN.1 schema with me so I can resolve any other issues together?

Sam

@Samuel-Tyler Samuel-Tyler self-assigned this Nov 7, 2019
@jbulow
Copy link
Author

jbulow commented Nov 7, 2019

Unfortunately, the legal circumstances for the ASN.1 schema I used is a bit unclear. At the moment, the best I can do is to try out new versions of fast_ver on that schema file.

@Samuel-Tyler
Copy link
Owner

I've added support for anonymous sequence members:

6f616f2

@Samuel-Tyler
Copy link
Owner

Please let me know if you encounter any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants