summaryrefslogtreecommitdiff
path: root/tests/Test_encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Test_encoding.c')
-rw-r--r--tests/Test_encoding.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Test_encoding.c b/tests/Test_encoding.c
index e693ed7..8e8c702 100644
--- a/tests/Test_encoding.c
+++ b/tests/Test_encoding.c
@@ -133,6 +133,14 @@ main (int argc, char *argv[])
exit (1);
}
+ result = asn1_write_value (asn1_element, "exp", "string4", 7);
+ if (result != ASN1_SUCCESS)
+ {
+ fprintf (stderr, "asn1_write_value(): str ");
+ asn1_perror (result);
+ exit (1);
+ }
+
/* Clear the definition structures */
asn1_delete_structure (&definitions);