summaryrefslogtreecommitdiff
path: root/lib/public_key/src/public_key.erl
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2021-05-03 16:25:12 +0200
committerHans Nilsson <hans@erlang.org>2021-05-03 16:25:12 +0200
commit3660192fbc651eaac84768b4b5afe93defccaf20 (patch)
treeff12789bb1419d2bc4bef5fe6f948900298d269d /lib/public_key/src/public_key.erl
parent8810b5ec0329d30290a2b436fea646a5a348ad05 (diff)
downloaderlang-3660192fbc651eaac84768b4b5afe93defccaf20.tar.gz
public_key: Disable warnings for the deprecated functions in public_key.erl
Diffstat (limited to 'lib/public_key/src/public_key.erl')
-rw-r--r--lib/public_key/src/public_key.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index a320646940..44031af11b 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -79,6 +79,12 @@
{ssh_hostkey_fingerprint,2, "use ssh:hostkey_fingerprint/2 instead"}
]).
+-compile([{nowarn_deprecated_function,
+ [{public_key,ssh_decode,2},
+ {public_key,ssh_encode,2}
+ ]}
+ ]).
+
%% When removing for OTP-25.0, remember to also remove
%% - most of pubkey_ssh.erl except
%% + dh_gex_group/4