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:10:39 +0200
committerBjörn Gustavsson <[email protected]>2013-10-18 14:10:39 +0200
commit666b46a914ddc23ad666222476163c46c06d2b14 (patch)
tree41ec1f7a949aaae2d4b5ec531c00059c41b9960d /lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
parent67603840fe02617e9ee3f6fd46b203b94ac5e3c5 (diff)
parent6baa1883a9c7f4d9b4be76d1375cf8b2cc614797 (diff)
downloadotp-666b46a914ddc23ad666222476163c46c06d2b14.tar.gz
otp-666b46a914ddc23ad666222476163c46c06d2b14.tar.bz2
otp-666b46a914ddc23ad666222476163c46c06d2b14.zip
Merge branch 'bjorn/asn1/fix-default-values/OTP-11319' into maint
* bjorn/asn1/fix-default-values/OTP-11319: 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