Commit baa43165 authored by Senthil Prabakaran's avatar Senthil Prabakaran Committed by Mouse

Enumberated names in quotes

parent 5383f680
...@@ -24,7 +24,7 @@ NativeEnumerated_encode_jer(const asn_TYPE_descriptor_t *td, const void *sptr, ...@@ -24,7 +24,7 @@ NativeEnumerated_encode_jer(const asn_TYPE_descriptor_t *td, const void *sptr,
el = INTEGER_map_value2enum(specs, *native); el = INTEGER_map_value2enum(specs, *native);
if(el) { if(el) {
er.encoded = er.encoded =
asn__format_to_callback(cb, app_key, "<%s/>", el->enum_name); asn__format_to_callback(cb, app_key, "\"%s\"", el->enum_name);
if(er.encoded < 0) ASN__ENCODE_FAILED; if(er.encoded < 0) ASN__ENCODE_FAILED;
ASN__ENCODED_OK(er); ASN__ENCODED_OK(er);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment