aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-11-29 10:24:49 +0100
committerBjörn Gustavsson <[email protected]>2013-11-29 10:48:11 +0100
commitbdf9ae38e1563c8304bf411c6e0655622246b20b (patch)
tree9dbafdbb33e3389f2c93cd0ca0c28f70370424ea /lib/asn1/test/asn1_SUITE_data
parent20641fe0f2ea745873fc7557448d3a7deb1bd639 (diff)
downloadotp-bdf9ae38e1563c8304bf411c6e0655622246b20b.tar.gz
otp-bdf9ae38e1563c8304bf411c6e0655622246b20b.tar.bz2
otp-bdf9ae38e1563c8304bf411c6e0655622246b20b.zip
PER/UPER: Handle a range in the extension part of the constraint
Constraints such as: INTEGER (1..10, ..., 11..20) would fail to compile. Make sure it is properly ignored.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Constraints.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Constraints.py b/lib/asn1/test/asn1_SUITE_data/Constraints.py
index e4bc987e4c..2afc9de779 100644
--- a/lib/asn1/test/asn1_SUITE_data/Constraints.py
+++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py
@@ -16,6 +16,9 @@ SemiConstrained ::= INTEGER (100..MAX)
NegSemiConstrained ::= INTEGER (-128..MAX)
SemiConstrainedExt ::= INTEGER (42..MAX, ...)
NegSemiConstrainedExt ::= INTEGER (-128..MAX, ...)
+-- Extensions --
+LongLongExt ::= INTEGER (0..18446744073709551615, ..., -5000..-1)
+Range256to65536Ext ::= INTEGER (256..65536, ..., 1000000..9000000)
-- Other constraints
FixedSize ::= OCTET STRING (SIZE(10))