diff options
author | Kenneth Lundin <[email protected]> | 2011-03-04 12:38:24 +0100 |
---|---|---|
committer | Kenneth Lundin <[email protected]> | 2011-03-07 16:09:39 +0100 |
commit | 8ba3b32de9548ddfc4194d2e7825d6c78bcb37ec (patch) | |
tree | 4a17c4349ac9ca77b964828b8d7f4ddcaf937b46 /lib/asn1/test/asn1_SUITE_data/CAP.asn1 | |
parent | 4c7786f58f8f101723b00e839baa068f8cf34579 (diff) | |
download | otp-8ba3b32de9548ddfc4194d2e7825d6c78bcb37ec.tar.gz otp-8ba3b32de9548ddfc4194d2e7825d6c78bcb37ec.tar.bz2 otp-8ba3b32de9548ddfc4194d2e7825d6c78bcb37ec.zip |
Fixed crash in asn1ct_check occuring for SEQUENCE with extension mark and component relation attribute.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/CAP.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/CAP.asn1 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/CAP.asn1 b/lib/asn1/test/asn1_SUITE_data/CAP.asn1 new file mode 100644 index 0000000000..69d8486d3b --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/CAP.asn1 @@ -0,0 +1,41 @@ +CAP {ccitt(0) identified-organization(4) etsi(0) mobileDomain(0) umts-network(1) modules(3) cap-datatypes(52) version3(2)} + +DEFINITIONS IMPLICIT TAGS ::= + +BEGIN + +EXTENSION ::= CLASS { + &ExtensionType, + &criticality CriticalityType DEFAULT ignore, + &id Code + } +WITH SYNTAX { + EXTENSION-SYNTAX &ExtensionType + CRITICALITY &criticality + IDENTIFIED BY &id + } + +ExtensionField ::= SEQUENCE { + type EXTENSION.&id ({SupportedExtensions }), + criticality CriticalityType DEFAULT ignore, + value [1] EXTENSION.&ExtensionType ({SupportedExtensions }{@type}), + ...} + +SupportedExtensions EXTENSION ::= {firstExtension, ...} + +firstExtension EXTENSION ::= { + EXTENSION-SYNTAX NULL + CRITICALITY ignore + IDENTIFIED BY global : {itu-t(0) identified-organization(4) organisation(0) gsm(1) + capextension(2)}} + +CriticalityType ::= ENUMERATED { + ignore (0), + abort (1) + } + +Code ::= CHOICE {local INTEGER, + global OBJECT IDENTIFIER} + + +END |