aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_value.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-10 10:56:10 +0100
committerBjörn Gustavsson <[email protected]>2012-12-10 10:56:10 +0100
commit13bf84f59fca26e3fcf644b566db0100b8f01546 (patch)
tree9552867dd790eb5cdcc4f28aa391c21b511f70bc /lib/asn1/src/asn1ct_value.erl
parentd4b42df28b1d696ce7b2b634be09a7fa5bc0b9cb (diff)
parent5c407a3477e0f35e6e60ff86c664e3de812a8c7a (diff)
downloadotp-13bf84f59fca26e3fcf644b566db0100b8f01546.tar.gz
otp-13bf84f59fca26e3fcf644b566db0100b8f01546.tar.bz2
otp-13bf84f59fca26e3fcf644b566db0100b8f01546.zip
Merge branch 'bjorn/asn1/optimize/OTP-10519'
* bjorn/asn1/optimize/OTP-10519: Remove unused run-time functions Optimize decoding of extensions Do alignment optimization of SEQUENCEs and SETs Refactor code generation for decoding SEQUENCE/SET Teach asn1ct_imm to optimize alignment Optimize decoding of OCTET STRINGs Implement encoding of fragmented OCTET STRINGs Use asn1ct_imm to optimize decoding of per and uper Use asn1ct_imm:effective_constraint/2 Add the asn1ct_imm module Makefile: Add dependencies for header files Eliminate the useless 'telltype' argument in component decoding testPrimString: Increase readability by introducing a roundtrip function asn1_SUITE: Let the per/1 test case also test 'uper' asn1ct_value: Fix type for open type value for uper Optimize encoding/decoding of NULL in the per and uper back-ends Suppress warnings for unused variables using a compiler option
Diffstat (limited to 'lib/asn1/src/asn1ct_value.erl')
-rw-r--r--lib/asn1/src/asn1ct_value.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1ct_value.erl b/lib/asn1/src/asn1ct_value.erl
index 6057e27b63..389642c446 100644
--- a/lib/asn1/src/asn1ct_value.erl
+++ b/lib/asn1/src/asn1ct_value.erl
@@ -436,11 +436,8 @@ get_encoding_rule(M) ->
open_type_value(ber) ->
<<4,9,111,112,101,110,95,116,121,112,101>>;
-open_type_value(per) ->
- <<"\n\topen_type">>; %octet string value "open_type"
-% <<10,9,111,112,101,110,95,116,121,112,101>>;
open_type_value(_) ->
- [4,9,111,112,101,110,95,116,121,112,101].
+ <<"\n\topen_type">>. %octet string value "open_type"
to_textual_order({Root,Ext}) ->
{to_textual_order(Root),Ext};