esnacc / esnacc-ng

A continuation of the Enhanced SNACC ASN.1 compiler - See http://mail.esnacc.org/mailman/listinfo/dev
http://esnacc.org
GNU General Public License v2.0
32 stars 30 forks source link

Are examples actually built? #38

Closed mouse07410 closed 8 years ago

mouse07410 commented 8 years ago

There are several subdirectories (tcl-example, tbl-example, cxx-examples, c-examples) that contain source files, automake.mk, and/or readme. But those sources cannot be compiled following the given instructions.

Are they defunct? Am I supposed to be able to build those?

Would appreciate some guidance.

Also, from FAQ.md it wasn't clear to me what's the actual current status of DER support. Is everything that's BER-encodable (in C and C++) also DER-encodable? I'm asking because I need all my encoding to be DER rather than BER... How/where do I check for this?

Thanks!

apconole commented 8 years ago

The examples are built - but only when using make check.

For your second question, I'll update the FAQ. We usually encode things in such a way that they are both DER and BER - however, I don't know where, specifically, we vary - it could be in CHOICE processing. I'll look into this.

mouse07410 commented 8 years ago

Thank you! Looking forward for FAQ and docs update.

mouse07410 commented 8 years ago

I guess there's no reason to keep this issue open - I trust that you will update the FAQ in reasonable time. :-)