summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2021-09-27 09:26:46 +0200
committerHans Nilsson <hans@erlang.org>2021-10-06 10:27:09 +0200
commit6f11e14f258410c37a3a40f9e6d6fd73fc4ba061 (patch)
treecb9c65accc6b449d76ccbaa535b51257d7365f7b
parent0b53017918a0e6470aa4785b612d4bd21de702c7 (diff)
downloaderlang-6f11e14f258410c37a3a40f9e6d6fd73fc4ba061.tar.gz
crypto: Remove old and unused macro COMPAT
Forgot to remove it when removing deprecated functions
-rw-r--r--lib/crypto/src/crypto.erl13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index 5d72114055..f5a4e2ac35 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -403,19 +403,6 @@
%%--------------------------------------------------------------------
-%%
-%% Make the new descriptive_error() look like the old run_time_error()
-%%
--define(COMPAT(CALL),
- try begin CALL end
- catch
- error:{error, {_File,_Line}, _Reason} ->
- error(badarg);
- error:{E, {_File,_Line}, _Reason} when E==notsup ; E==badarg ->
- error(E)
- end).
-
-%%--------------------------------------------------------------------
-compile(no_native).
-on_load(on_load/0).
-define(CRYPTO_NIF_VSN,302).