diff options
author | Björn Gustavsson <[email protected]> | 2013-10-21 11:59:54 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-10-21 11:59:54 +0200 |
commit | 9676a78c5cdeeea311048a7d9630f333811747d1 (patch) | |
tree | 5730f03f62d0dda2146491c1d208d6620a3b0c9d /lib/asn1/test/asn1_SUITE_data/Constraints.py | |
parent | 666b46a914ddc23ad666222476163c46c06d2b14 (diff) | |
parent | c28e62178eced67090d5e5f40d0f6207a6875740 (diff) | |
download | otp-9676a78c5cdeeea311048a7d9630f333811747d1.tar.gz otp-9676a78c5cdeeea311048a7d9630f333811747d1.tar.bz2 otp-9676a78c5cdeeea311048a7d9630f333811747d1.zip |
Merge branch 'bjorn/asn1/fix-extensible-single-values/OTP-11415' into maint
* bjorn/asn1/fix-extensible-single-values/OTP-11415:
PER/UPER: Correct encoding for single-value extensible constraints
asn1ct_value: Handle named INTEGERs with constraints
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Constraints.py')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Constraints.py | 5 |
1 files changed, 5 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..581ec2f467 100644 --- a/lib/asn1/test/asn1_SUITE_data/Constraints.py +++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py @@ -17,6 +17,11 @@ NegSemiConstrained ::= INTEGER (-128..MAX) SemiConstrainedExt ::= INTEGER (42..MAX, ...) NegSemiConstrainedExt ::= INTEGER (-128..MAX, ...) +-- Union of single values +Sv1 ::= INTEGER (2|3|17) +Sv2 ::= INTEGER (2|3|17, ...) +Sv3 ::= INTEGER {a(2),b(3),z(17)} (2|3|17, ...) + -- Other constraints FixedSize ::= OCTET STRING (SIZE(10)) FixedSize2 ::= OCTET STRING (SIZE(10|20)) |