tests for IMPLICIT

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15695 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-21 19:14:53 +00:00
parent 8c0660f084
commit 3d9e36d3a1
2 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -26,5 +26,11 @@ TESTChoice2 ::= CHOICE {
...
}
TESTInteger ::= INTEGER (-2147483648..2147483647)
TESTImplicit ::= SEQUENCE {
ti1[0] IMPLICIT TESTInteger,
ti2[1] IMPLICIT TESTLargeTag
}
END