diff options
author | Björn Gustavsson <[email protected]> | 2012-12-19 15:46:53 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-22 19:20:12 +0100 |
commit | fbcb7fe589edbfe79d10d7fe01be8a9f77926b89 (patch) | |
tree | a7e5a695db24fb32d2baff4eb35baa795aa5be1e /lib/asn1/src/asn1ct_eval_per.funcs | |
parent | a822c4a25d9855381632c124ed8ca0882a792e96 (diff) | |
download | otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.tar.gz otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.tar.bz2 otp-fbcb7fe589edbfe79d10d7fe01be8a9f77926b89.zip |
Optimize encoding of ENUMERATED in per and uper
Always pre-encode the values for the enumeration. Clean up the
code and let the per and uper back-ends share the code.
Diffstat (limited to 'lib/asn1/src/asn1ct_eval_per.funcs')
-rw-r--r-- | lib/asn1/src/asn1ct_eval_per.funcs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_eval_per.funcs b/lib/asn1/src/asn1ct_eval_per.funcs index 353424c231..a1ea5cd043 100644 --- a/lib/asn1/src/asn1ct_eval_per.funcs +++ b/lib/asn1/src/asn1ct_eval_per.funcs @@ -1 +1,2 @@ -{per,encode_integer,2}. +{per,encode_constrained_number,2}. +{per,encode_small_number,1}. |