test OER for string types round-trip

This commit is contained in:
Lev Walkin 2017-07-25 07:57:31 -07:00
parent 5f99257c19
commit ca84c46db9
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ int main() {
OCTET_STRING_fromBuf(&source.constrained.ia5, "ab", 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 =
oer_encode_to_buffer(&asn_DEF_T, 0, &source, tmpbuf, sizeof(tmpbuf));