diff options
author | Simon Cornish <[email protected]> | 2019-02-22 16:20:12 -0800 |
---|---|---|
committer | Simon Cornish <[email protected]> | 2019-02-25 21:27:36 -0800 |
commit | d3efb32359e59b2996cde916436ffa56aa2ffb19 (patch) | |
tree | 9c8bf1f169d47a165689b67ef3670866ce483ad8 /lib/asn1/test/asn1_SUITE_data | |
parent | 7e21a18877374cfaef1fe839a5cd78599eb2d9d6 (diff) | |
download | otp-d3efb32359e59b2996cde916436ffa56aa2ffb19.tar.gz otp-d3efb32359e59b2996cde916436ffa56aa2ffb19.tar.bz2 otp-d3efb32359e59b2996cde916436ffa56aa2ffb19.zip |
Add test for DEFAULT used with OCTET STRING
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/DefaultOctetString.asn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/DefaultOctetString.asn b/lib/asn1/test/asn1_SUITE_data/DefaultOctetString.asn new file mode 100644 index 0000000000..076e965d58 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/DefaultOctetString.asn @@ -0,0 +1,15 @@ +DefaultOctetString +DEFINITIONS +AUTOMATIC TAGS + ::= +BEGIN +Dos ::= SEQUENCE { + opt [2] OCTET STRING (SIZE(2..4)) OPTIONAL, + def [10] OCTET STRING (SIZE (1)) DEFAULT '05'H +} + +dos Dos ::= { + opt '1234'H +} + +END |