diff options
author | Björn Gustavsson <[email protected]> | 2013-08-08 11:58:58 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-03 16:27:41 +0200 |
commit | c28e00b24d4d67a8aac55415c36dcab2537db2cc (patch) | |
tree | 46c26d378b4e64aea81cb28c6fa18ab1f77e5429 /lib/asn1/test/asn1_SUITE_data/Fragmented.asn1 | |
parent | df7bb30fd0e8161e5146705fd117aa0bb115fbe7 (diff) | |
download | otp-c28e00b24d4d67a8aac55415c36dcab2537db2cc.tar.gz otp-c28e00b24d4d67a8aac55415c36dcab2537db2cc.tar.bz2 otp-c28e00b24d4d67a8aac55415c36dcab2537db2cc.zip |
PER, UPER: Fix encoding/decoding of open types greater than 16K
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Fragmented.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Fragmented.asn1 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Fragmented.asn1 b/lib/asn1/test/asn1_SUITE_data/Fragmented.asn1 new file mode 100644 index 0000000000..bfc939737f --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/Fragmented.asn1 @@ -0,0 +1,24 @@ +Fragmented DEFINITIONS AUTOMATIC TAGS ::= +BEGIN + +FUNCTION ::= CLASS { + &code INTEGER UNIQUE, + &b BOOLEAN, + &ArgumentType +} + +SS ::= SEQUENCE OF OCTET STRING + +val1 FUNCTION ::= { + &code 1, &b FALSE, &ArgumentType SS +} + +ObjSet FUNCTION ::= { val1 } + +PDU ::= SEQUENCE { + code FUNCTION.&code ({ObjSet}), + b FUNCTION.&b ({ObjSet}{@code}), + arg FUNCTION.&ArgumentType ({ObjSet}{@code}) +} + +END |