aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-10-18 14:23:39 +0200
committerBjörn Gustavsson <[email protected]>2013-10-18 14:23:39 +0200
commit5a69967bf89327368cd45e000df054953fa74f10 (patch)
tree41d79a3dbd953e21c0558f60c9f311974033c80b /lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
parent0aae26d8df1aba1f3a8551e4bf1fc097f13a0bea (diff)
parent666b46a914ddc23ad666222476163c46c06d2b14 (diff)
downloadotp-5a69967bf89327368cd45e000df054953fa74f10.tar.gz
otp-5a69967bf89327368cd45e000df054953fa74f10.tar.bz2
otp-5a69967bf89327368cd45e000df054953fa74f10.zip
Merge branch 'maint'
* maint: Fix broken handling of default values for BIT STRINGs
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/PrimStrings.asn18
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1 b/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
index 08e7f94ab6..a5b4c8a53d 100644
--- a/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
+++ b/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
@@ -46,7 +46,13 @@ BS256 ::= BIT STRING (SIZE (256))
BS1024 ::= BIT STRING (SIZE (1024))
-
+ BsDef1 ::= SEQUENCE {
+ s BIT STRING DEFAULT '101111'B
+ }
+
+ BsDef2 ::= SEQUENCE {
+ s BIT STRING DEFAULT 'DEADBEEF'H
+ }
Os ::= OCTET STRING
OsCon ::= [60] OCTET STRING