diff --git a/lib/asn1/Makefile.am b/lib/asn1/Makefile.am index 1c1168e9f..6a9ea8612 100644 --- a/lib/asn1/Makefile.am +++ b/lib/asn1/Makefile.am @@ -309,8 +309,10 @@ gen_files_pkcs9 = \ gen_files_test = \ asn1_TESTChoice1.x \ asn1_TESTChoice2.x \ - asn1_TESTSeq.x \ - asn1_TESTLargeTag.x + asn1_TESTImplicit.x \ + asn1_TESTInteger.x \ + asn1_TESTLargeTag.x \ + asn1_TESTSeq.x noinst_PROGRAMS = asn1_compile asn1_print asn1_gen diff --git a/lib/asn1/test.asn1 b/lib/asn1/test.asn1 index 5a65e456b..459f59d0b 100644 --- a/lib/asn1/test.asn1 +++ b/lib/asn1/test.asn1 @@ -26,5 +26,11 @@ TESTChoice2 ::= CHOICE { ... } +TESTInteger ::= INTEGER (-2147483648..2147483647) + +TESTImplicit ::= SEQUENCE { + ti1[0] IMPLICIT TESTInteger, + ti2[1] IMPLICIT TESTLargeTag +} END