Commit ca84c46d authored by Lev Walkin's avatar Lev Walkin

test OER for string types round-trip

parent 5f99257c
...@@ -26,7 +26,7 @@ int main() { ...@@ -26,7 +26,7 @@ int main() {
OCTET_STRING_fromBuf(&source.constrained.ia5, "ab", 2); OCTET_STRING_fromBuf(&source.constrained.ia5, "ab", 2);
OCTET_STRING_fromBuf(&source.constrained.utf8, "cd", 2); OCTET_STRING_fromBuf(&source.constrained.utf8, "cd", 2);
OCTET_STRING_fromBuf(&source.unconstrained.universal, "\0\0\0e\0\0\0f", 8); OCTET_STRING_fromBuf(&source.constrained.universal, "\0\0\0e\0\0\0f", 8);
asn_enc_rval_t er = asn_enc_rval_t er =
oer_encode_to_buffer(&asn_DEF_T, 0, &source, tmpbuf, sizeof(tmpbuf)); oer_encode_to_buffer(&asn_DEF_T, 0, &source, tmpbuf, sizeof(tmpbuf));
......
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