diff options
author | Björn Gustavsson <[email protected]> | 2012-11-15 08:17:27 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-11-22 17:23:12 +0100 |
commit | 0481bd15d660853076036c09d7adcce1de523a23 (patch) | |
tree | abb8340dd5cafa1b01fc3a073a9324ebf4f24f92 /lib/asn1/src/asn1rt_uper_bin.erl | |
parent | d2989f33c435e1ec2b788772c5e4a77835ec5e10 (diff) | |
download | otp-0481bd15d660853076036c09d7adcce1de523a23.tar.gz otp-0481bd15d660853076036c09d7adcce1de523a23.tar.bz2 otp-0481bd15d660853076036c09d7adcce1de523a23.zip |
Remove support for the obsolete {Typename,Value} tuple notation
Of the back-ends that we are going to keep, only the UPER back-end
support the obsolete {Typename,Value} notation. For consistency
with the PER and BER encodings, remove the support for UPER
encoding too. Also remove vestiges of the support for the
notation in the other back-ends.
Diffstat (limited to 'lib/asn1/src/asn1rt_uper_bin.erl')
-rw-r--r-- | lib/asn1/src/asn1rt_uper_bin.erl | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/asn1/src/asn1rt_uper_bin.erl b/lib/asn1/src/asn1rt_uper_bin.erl index abe178a69e..e1f96416a9 100644 --- a/lib/asn1/src/asn1rt_uper_bin.erl +++ b/lib/asn1/src/asn1rt_uper_bin.erl @@ -25,7 +25,6 @@ %%-compile(export_all). - -export([cindex/3, list_to_record/2]). -export([setext/1, fixoptionals/3, fixextensions/2, getext/1, getextension/2, skipextensions/3, getbit/1, getchoice/3 ]). @@ -65,19 +64,6 @@ -define('64K',65536). -cindex(Ix,Val,Cname) -> - case element(Ix,Val) of - {Cname,Val2} -> Val2; - X -> X - end. - -%% converts a list to a record if necessary -list_to_record(_Name,Tuple) when is_tuple(Tuple) -> - Tuple; -list_to_record(Name,List) when is_list(List) -> - list_to_tuple([Name|List]). - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% setext(true|false) -> CompleteList %% |