diff options
author | Björn Gustavsson <[email protected]> | 2014-05-06 11:12:22 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-06-05 13:46:28 +0200 |
commit | bf1f64b65555600aaed77dfd7392afcfe55b83b4 (patch) | |
tree | 0825e9c652d12a2616d05d3fc25a26407b676c6e /lib/asn1/test | |
parent | 956a11631750ad3ea1d8d191f1e202b2d68db194 (diff) | |
download | otp-bf1f64b65555600aaed77dfd7392afcfe55b83b4.tar.gz otp-bf1f64b65555600aaed77dfd7392afcfe55b83b4.tar.bz2 otp-bf1f64b65555600aaed77dfd7392afcfe55b83b4.zip |
(U)PER: Fix encoding of a semi-constrained, named INTEGER
The code generator would crash.
Diffstat (limited to 'lib/asn1/test')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Constraints.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Constraints.py b/lib/asn1/test/asn1_SUITE_data/Constraints.py index c3b3aebd6d..1fe658d2e2 100644 --- a/lib/asn1/test/asn1_SUITE_data/Constraints.py +++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py @@ -16,6 +16,7 @@ SemiConstrained ::= INTEGER (100..MAX) NegSemiConstrained ::= INTEGER (-128..MAX) SemiConstrainedExt ::= INTEGER (42..MAX, ...) NegSemiConstrainedExt ::= INTEGER (-128..MAX, ...) +SemiNamed ::= INTEGER {a(100), b(200)} (100..MAX) -- Extensions -- LongLongExt ::= INTEGER (0..18446744073709551615, ..., -5000..-1) Range256to65536Ext ::= INTEGER (256..65536, ..., 1000000..9000000) |