aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-02-24 11:56:45 +0100
committerBjörn Gustavsson <[email protected]>2014-02-24 11:56:45 +0100
commite70a2dc2e0fc2ef38a7cdf5bbf13313408003cea (patch)
tree124d3d098d88887146a1219179240e4c01bb93db /lib/eldap
parentf56c221205f6e74f027dd74c86ba5ae1e504d318 (diff)
parent1bdb47b00faff39994a041c6d9a291a2c68143d9 (diff)
downloadotp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.tar.gz
otp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.tar.bz2
otp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.zip
Merge branch 'bjorn/asn1/deprecations/OTP-11731'
* bjorn/asn1/deprecations/OTP-11731: Remove or de-emphasize references to the deprecated asn1rt module Deprecate asn1 functions
Diffstat (limited to 'lib/eldap')
-rw-r--r--lib/eldap/src/eldap.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index af5bf94c97..a86fd39adb 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -743,7 +743,7 @@ request(S, Data, ID, Request) ->
send_request(S, Data, ID, Request) ->
Message = #'LDAPMessage'{messageID = ID,
protocolOp = Request},
- {ok,Bytes} = asn1rt:encode('ELDAPv3', 'LDAPMessage', Message),
+ {ok,Bytes} = 'ELDAPv3':encode('LDAPMessage', Message),
case do_send(S, Data, Bytes) of
{error,Reason} -> throw({gen_tcp_error,Reason});
Else -> Else
@@ -762,7 +762,7 @@ do_recv(S, #eldap{using_tls=true, timeout=Timeout}, Len) ->
recv_response(S, Data) ->
case do_recv(S, Data, 0) of
{ok, Packet} ->
- case asn1rt:decode('ELDAPv3', 'LDAPMessage', Packet) of
+ case 'ELDAPv3':decode('LDAPMessage', Packet) of
{ok,Resp} -> {ok,Resp};
Error -> throw(Error)
end;