Skip to content

Commit 22d612f

Browse files
committed
Update deprecations
1 parent 1b1ff24 commit 22d612f

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed
20 Bytes
Binary file not shown.

lib/stdlib/src/otp_internal.erl

+22-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
%%
2+
%% Copyright Ericsson AB 2020-2025. All Rights Reserved.
3+
%%
4+
%% Licensed under the Apache License, Version 2.0 (the "License");
5+
%% you may not use this file except in compliance with the License.
6+
%% You may obtain a copy of the License at
7+
%%
8+
%% http://www.apache.org/licenses/LICENSE-2.0
9+
%%
10+
%% Unless required by applicable law or agreed to in writing, software
11+
%% distributed under the License is distributed on an "AS IS" BASIS,
12+
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
%% See the License for the specific language governing permissions and
14+
%% limitations under the License.
15+
%%
216
%% WARNING: DO NOT EDIT THIS FILE.
317
%%
418
%% This file was auto-generated from attributes in the source
@@ -105,9 +119,9 @@ obsolete(crypto, cmac, 3) ->
105119
obsolete(crypto, cmac, 4) ->
106120
{removed, "use crypto:macN/5 instead"};
107121
obsolete(crypto, crypto_dyn_iv_init, 3) ->
108-
{removed, "not supported, use crypto_init/4"};
122+
{removed, "not supported, use crypto:crypto_init/4"};
109123
obsolete(crypto, crypto_dyn_iv_update, 3) ->
110-
{removed, "not supported, use crypto_update/2"};
124+
{removed, "not supported, use crypto:crypto_update/2"};
111125
obsolete(crypto, hmac, 3) ->
112126
{removed, "use crypto:mac/4 instead"};
113127
obsolete(crypto, hmac, 4) ->
@@ -201,11 +215,11 @@ obsolete(rpc, safe_multi_server_call, 2) ->
201215
obsolete(rpc, safe_multi_server_call, 3) ->
202216
{removed, "use rpc:multi_server_call/3 instead"};
203217
obsolete(ssl, cipher_suites, 0) ->
204-
{removed, "use cipher_suites/2,3 instead"};
218+
{removed, "use ssl:cipher_suites/2,3 instead"};
205219
obsolete(ssl, cipher_suites, 1) ->
206-
{removed, "use cipher_suites/2,3 instead"};
220+
{removed, "use ssl:cipher_suites/2,3 instead"};
207221
obsolete(ssl, connection_info, 1) ->
208-
{removed, "use ssl:connection_information/[1,2] instead"};
222+
{removed, "use ssl:connection_information/1,2 instead"};
209223
obsolete(ssl, negotiated_next_protocol, 1) ->
210224
{removed, "use ssl:negotiated_protocol/1 instead"};
211225
obsolete(zlib, adler32, 2) ->
@@ -225,9 +239,9 @@ obsolete(zlib, crc32_combine, 4) ->
225239
obsolete(zlib, getBufSize, 1) ->
226240
{removed, "this function has been removed"};
227241
obsolete(zlib, inflateChunk, 1) ->
228-
{removed, "use safeInflate/2 instead"};
242+
{removed, "use zlib:safeInflate/2 instead"};
229243
obsolete(zlib, inflateChunk, 2) ->
230-
{removed, "use safeInflate/2 instead"};
244+
{removed, "use zlib:safeInflate/2 instead"};
231245
obsolete(zlib, setBufSize, 2) ->
232246
{removed, "this function has been removed"};
233247
obsolete(auth, node_cookie, _) ->
@@ -249,7 +263,7 @@ obsolete(erl_scan, token_info, _) ->
249263
obsolete(filename, find_src, _) ->
250264
{removed, "use filelib:find_source/1,3 instead"};
251265
obsolete(ssl, ssl_accept, _) ->
252-
{removed, "use ssl_handshake/1,2,3 instead"};
266+
{removed, "use ssl:handshake/1,2,3 instead"};
253267
obsolete(ct_slave, _, _) ->
254268
{deprecated, "use ?CT_PEER(), or the 'peer' module instead", "OTP 29"};
255269
obsolete(gen_fsm, _, _) ->

0 commit comments

Comments
 (0)