aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-10 16:10:31 +0200
committerBjörn Gustavsson <[email protected]>2017-01-13 11:49:41 +0100
commitc82bbd8f28f3e0ce00f5db44f7a6cef75653eee5 (patch)
treea52639e67e6dc43530a9318ea0442bddc46b6282 /lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
parent19e33117de1c44c0e4200ca8ee280cb843842b4c (diff)
downloadotp-c82bbd8f28f3e0ce00f5db44f7a6cef75653eee5.tar.gz
otp-c82bbd8f28f3e0ce00f5db44f7a6cef75653eee5.tar.bz2
otp-c82bbd8f28f3e0ce00f5db44f7a6cef75653eee5.zip
asn1: Remove deprecated functions
Remove the entire asn1rt module. All functions in it were deprecated in OTP 17. In asn1ct, remove the deprecated functions asn1ct:encode/3 and asn1ct:decode/3. Also remove asn1ct:encode/2, which has not been formally deprecated but is undocumented.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl b/lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
index 6cf8ecf451..cd6c74b995 100644
--- a/lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
+++ b/lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
@@ -120,10 +120,10 @@ run3(Erule) ->
asn1_NOVALUE,asn1_NOVALUE,asn1_NOVALUE},
asn1_NOVALUE,asn1_NOVALUE}}}}}}},
io:format("~p:~p~n",[Erule,Val]),
- {ok,List}= asn1rt:encode('EUTRA-RRC-Definitions','DL-DCCH-Message',Val),
+ {ok,List}= 'EUTRA-RRC-Definitions':encode('DL-DCCH-Message',Val),
Enc = iolist_to_binary(List),
io:format("Result from encode:~n~p~n",[Enc]),
- {ok,Val2} = asn1rt:decode('EUTRA-RRC-Definitions','DL-DCCH-Message',Enc),
+ {ok,Val2} = 'EUTRA-RRC-Definitions':decode('DL-DCCH-Message', Enc),
io:format("Result from decode:~n~p~n",[Val2]),
case Val2 of
Val -> ok;