aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-04-03 18:05:16 +0200
committerSverker Eriksson <[email protected]>2014-04-03 18:05:16 +0200
commit7bc4993d4abaf01dccf9c3964a312e4f540282f4 (patch)
tree9deb96865555bcac857c7bd7e53fa2ee2db5cf7d
parent7e9193f2c92d9fadf6c13e799ba75f93a6ce2b9b (diff)
parentcc3c2b546aff686dbc57eb9c4bc16956d22d045e (diff)
downloadotp-7bc4993d4abaf01dccf9c3964a312e4f540282f4.tar.gz
otp-7bc4993d4abaf01dccf9c3964a312e4f540282f4.tar.bz2
otp-7bc4993d4abaf01dccf9c3964a312e4f540282f4.zip
Merge branch 'vinoski/hash-update-arity'
* vinoski/hash-update-arity: fix arity of crypto:hash_update/2 in deprecation warnings
-rw-r--r--lib/stdlib/src/otp_internal.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 356eb7ade9..09f51d4d87 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -83,11 +83,11 @@ obsolete_1(crypto, sha_init, 0) ->
{deprecated, {crypto, hash_init, 1}};
obsolete_1(crypto, md4_update, 2) ->
- {deprecated, {crypto, hash_update, 3}};
+ {deprecated, {crypto, hash_update, 2}};
obsolete_1(crypto, md5_update, 2) ->
- {deprecated, {crypto, hash_update, 3}};
+ {deprecated, {crypto, hash_update, 2}};
obsolete_1(crypto, sha_update, 2) ->
- {deprecated, {crypto, hash_update, 3}};
+ {deprecated, {crypto, hash_update, 2}};
obsolete_1(crypto, md4_final, 1) ->
{deprecated, {crypto, hash_final, 2}};