diff options
author | Björn Gustavsson <[email protected]> | 2017-02-15 14:04:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-02-17 09:51:20 +0100 |
commit | 2a206d87470fc61656dcfc67e428fd61cb8ee39c (patch) | |
tree | ea86ced4b786c0ce6cb50a607059a4d39ffa31fc /lib/asn1/test/asn1_SUITE_data/Prim.asn1 | |
parent | 5b80964cabcb5ec6c7961d3714fa9ed4bdcc6585 (diff) | |
download | otp-2a206d87470fc61656dcfc67e428fd61cb8ee39c.tar.gz otp-2a206d87470fc61656dcfc67e428fd61cb8ee39c.tar.bz2 otp-2a206d87470fc61656dcfc67e428fd61cb8ee39c.zip |
PER: Slightly improve error reporting for encoding
Generate slightly better error reasons when encoding of INTEGER,
ENUMERATED, or BOOLEAN fails.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Prim.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/Prim.asn1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Prim.asn1 b/lib/asn1/test/asn1_SUITE_data/Prim.asn1 index 4fe0901683..91c8696e61 100644 --- a/lib/asn1/test/asn1_SUITE_data/Prim.asn1 +++ b/lib/asn1/test/asn1_SUITE_data/Prim.asn1 @@ -18,6 +18,8 @@ BEGIN IntExpPri ::= [PRIVATE 51] EXPLICIT INTEGER IntExpApp ::= [APPLICATION 52] EXPLICIT INTEGER + IntConstrained ::= INTEGER (0..255) + IntEnum ::= INTEGER {first(1),last(31)} Enum ::= ENUMERATED {monday(1),tuesday(2),wednesday(3),thursday(4), |