aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-02-15 14:04:25 +0100
committerBjörn Gustavsson <[email protected]>2017-02-17 09:51:20 +0100
commit2a206d87470fc61656dcfc67e428fd61cb8ee39c (patch)
treeea86ced4b786c0ce6cb50a607059a4d39ffa31fc /lib/asn1/test/asn1_SUITE_data
parent5b80964cabcb5ec6c7961d3714fa9ed4bdcc6585 (diff)
downloadotp-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')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Prim.asn12
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),