aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-05-18 14:41:24 +0200
committerIngela Anderton Andin <[email protected]>2018-05-18 14:41:24 +0200
commit7a718717d8b2b5eb055ec3c307da073496f20f26 (patch)
tree88d1f63f3d60e47caba5588558188d36005cce0f /lib/stdlib/src
parenta01ffa40c55380a9749c17458d0156443e415b5e (diff)
downloadotp-7a718717d8b2b5eb055ec3c307da073496f20f26.tar.gz
otp-7a718717d8b2b5eb055ec3c307da073496f20f26.tar.bz2
otp-7a718717d8b2b5eb055ec3c307da073496f20f26.zip
ssl: Deprecate ssl:ssl_accept/[1,2,3]
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/otp_internal.erl9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index a17addcc42..ceec3079a1 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -612,6 +612,15 @@ obsolete_1(erlang, get_stacktrace, 0) ->
obsolete_1(erlang, hash, 2) ->
{removed, {erlang, phash2, 2}, "20.0"};
+%% Add in OTP 21.
+
+obsolete_1(ssl, ssl_accept, 1) ->
+ {deprecated, "deprecated; use ssl:handshake/1 instead"};
+obsolete_1(ssl, ssl_accept, 2) ->
+ {deprecated, "deprecated; use ssl:handshake/2 instead"};
+obsolete_1(ssl, ssl_accept, 3) ->
+ {deprecated, "deprecated; use ssl:handshake/3 instead"};
+
%% not obsolete
obsolete_1(_, _, _) ->