asn1tools
asn1tools copied to clipboard
error: '<' not supported between instances of 'NoneType' and 'NoneType'
I'm trying to generate c/rust source code with command line:
➜ asn1tools generate_c_source --codec uper rfc5280.asn
error: '<' not supported between instances of 'NoneType' and 'NoneType'
rfc5280.asn from https://github.com/eerimoq/asn1tools/blob/master/tests/files/ietf/rfc5280.asn
Python 3.7.4
asn1tools --version
0.146.5
What did I miss? Thanks.
Not sure, but it looks like lots of fields in that spec does not have a maximum size. There are many limitations in the C source code generator, and maximum size is one. Have a look in the readme.