Skip to content

Commit

Permalink
Update deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
sverker committed Feb 7, 2024
1 parent 5c119c3 commit f51a77e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Binary file modified bootstrap/lib/stdlib/ebin/otp_internal.beam
Binary file not shown.
13 changes: 6 additions & 7 deletions lib/stdlib/src/otp_internal.erl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
%% after adding an attribute.
%%
-module(otp_internal).
-moduledoc false.
-include("otp_internal.hrl").
%%
-dialyzer({no_match, obsolete/3}).
Expand All @@ -32,10 +31,6 @@ obsolete(auth, is_auth, 1) ->
{deprecated, "use net_adm:ping/1 instead"};
obsolete(calendar, local_time_to_universal_time, 1) ->
{deprecated, "use calendar:local_time_to_universal_time_dst/1 instead"};
obsolete(crypto, crypto_dyn_iv_init, 3) ->
{deprecated, "see the documentation for details", "OTP 27"};
obsolete(crypto, crypto_dyn_iv_update, 3) ->
{deprecated, "see the documentation for details", "OTP 27"};
obsolete(crypto, rand_uniform, 2) ->
{deprecated, "use rand:uniform/1 instead"};
obsolete(dbg, stop_clear, 0) ->
Expand Down Expand Up @@ -89,15 +84,19 @@ obsolete(core_lib, set_anno, 2) ->
obsolete(crypto, block_decrypt, 3) ->
{removed, "use crypto:crypto_one_time/4 or crypto:crypto_init/3 + crypto:crypto_update/2 + crypto:crypto_final/1 instead"};
obsolete(crypto, block_decrypt, 4) ->
{removed, "use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_(dyn_iv)?_init + crypto:crypto_(dyn_iv)?_update + crypto:crypto_final instead"};
{removed, "use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_init + crypto:crypto_update + crypto:crypto_final instead"};
obsolete(crypto, block_encrypt, 3) ->
{removed, "use crypto:crypto_one_time/4 or crypto:crypto_init/3 + crypto:crypto_update/2 + crypto:crypto_final/1 instead"};
obsolete(crypto, block_encrypt, 4) ->
{removed, "use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_(dyn_iv)?_init + crypto:crypto_(dyn_iv)?_update + crypto:crypto_final instead"};
{removed, "use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_init + crypto:crypto_update + crypto:crypto_final instead"};
obsolete(crypto, cmac, 3) ->
{removed, "use crypto:mac/4 instead"};
obsolete(crypto, cmac, 4) ->
{removed, "use crypto:macN/5 instead"};
obsolete(crypto, crypto_dyn_iv_init, 3) ->
{removed, "not supported, use crypto_init/4"};
obsolete(crypto, crypto_dyn_iv_update, 3) ->
{removed, "not supported, use crypto_update/2"};
obsolete(crypto, hmac, 3) ->
{removed, "use crypto:mac/4 instead"};
obsolete(crypto, hmac, 4) ->
Expand Down

0 comments on commit f51a77e

Please sign in to comment.