aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Constraints.py
diff options
context:
space:
mode:
authorGustav Simonsson <[email protected]>2012-08-15 17:03:28 +0200
committerGustav Simonsson <[email protected]>2012-08-15 17:03:28 +0200
commit80cada1182d0a1a8afc84e3c3fa316bcf5649736 (patch)
tree02ed79c00de04fa227f2512fee014908ffa306b1 /lib/asn1/test/asn1_SUITE_data/Constraints.py
parent89dbbd069886869ab7797ca938fb54d152cd77d4 (diff)
parent49a4c58106ca913328b5f28e7124e820b15e4b43 (diff)
downloadotp-80cada1182d0a1a8afc84e3c3fa316bcf5649736.tar.gz
otp-80cada1182d0a1a8afc84e3c3fa316bcf5649736.tar.bz2
otp-80cada1182d0a1a8afc84e3c3fa316bcf5649736.zip
Merge branch 'gustav/asn1/per_integer_ranges/OTP-10128' into maint
* gustav/asn1/per_integer_ranges/OTP-10128: Keep encoded octets of constrained whole number value and range as binaries and use erlang:byte_size to get length of octets and range. For speed. Add support for larger integer ranges in per encode/decode
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Constraints.py')
-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 de48c4c2ca..dc65e7009a 100644
--- a/lib/asn1/test/asn1_SUITE_data/Constraints.py
+++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py
@@ -7,6 +7,9 @@ SingleValue2 ::= INTEGER (1..20)
Range2to19 ::= INTEGER (1<..<20)
Range10to20 ::= INTEGER (10..20)
ContainedSubtype ::= INTEGER (INCLUDES Range10to20)
+-- Some ranges for additional constrained number testing.
+LongLong ::= INTEGER (0..18446744073709551615)
+Range256to65536 ::= INTEGER (256..65536)
FixedSize ::= OCTET STRING (SIZE(10))
FixedSize2 ::= OCTET STRING (SIZE(10|20))
VariableSize ::= OCTET STRING (SIZE(1..10))