aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-02-11 16:13:17 +0100
committerSverker Eriksson <[email protected]>2015-02-11 16:13:17 +0100
commit7783f908905264507e5406d7e0d70ceb2f64a278 (patch)
treea69af0d7ca187a81f432e79d9a71e8958978a261 /lib/crypto/src
parent73996f6dabd8c90164da129ad5ac54293b3e4243 (diff)
downloadotp-7783f908905264507e5406d7e0d70ceb2f64a278.tar.gz
otp-7783f908905264507e5406d7e0d70ceb2f64a278.tar.bz2
otp-7783f908905264507e5406d7e0d70ceb2f64a278.zip
crypto: Fix dialyzer error for aes_ecb_crypt/3
by removing the spec. It's an internal function.
Diffstat (limited to 'lib/crypto/src')
-rw-r--r--lib/crypto/src/crypto.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index aaae9c027d..e8845ed52f 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -1399,9 +1399,6 @@ aes_ctr_decrypt(_Key, _IVec, _Cipher) -> ?nif_stub.
%%
%% AES - in electronic codebook mode (ECB)
%%
--spec aes_ecb_crypt(iodata(), iodata(), integer()) ->
- binary().
-
aes_ecb_encrypt(Key, Data) ->
aes_ecb_crypt(Key, Data, true).