indutny / asn1.js

ASN.1 Decoder/Encoder/DSL
MIT License
184 stars 64 forks source link

Return original OID if no mapping was provided #46

Closed felix closed 8 years ago

felix commented 9 years ago

This is my current solution to issue #20. I am encountering some obscure OIDs so rather than throw an error I would prefer to just return the OID string.

indutny commented 9 years ago

Hm... may be it should just return an array in case of failure?

indutny commented 9 years ago

Looks good (please ping me here next time, because there are no notifications about the added commit). What about test?

felix commented 9 years ago

@indutny Simple test added.