aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2015-07-30 18:47:15 +0300
committerAlexey Shchepin <alexey@process-one.net>2015-07-30 19:17:53 +0300
commitdfe30824455a77ffad4b7739e5b6dad58eef8d9d (patch)
treeb2fd2c68ce1bf13eda6b671df219bea867c571cc /test
parentMerge pull request #682 from weiss/no-mam-carbons (diff)
Update crypto calls
Diffstat (limited to 'test')
-rw-r--r--test/ejabberd_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ejabberd_SUITE.erl b/test/ejabberd_SUITE.erl
index 075a53fe2..47c4b9e75 100644
--- a/test/ejabberd_SUITE.erl
+++ b/test/ejabberd_SUITE.erl
@@ -467,8 +467,8 @@ presence(Config) ->
presence_broadcast(Config) ->
Feature = <<"p1:tmp:", (randoms:get_string())/binary>>,
- Ver = crypto:sha(["client", $/, "bot", $/, "en", $/,
- "ejabberd_ct", $<, Feature, $<]),
+ Ver = crypto:hash(sha, ["client", $/, "bot", $/, "en", $/,
+ "ejabberd_ct", $<, Feature, $<]),
B64Ver = base64:encode(Ver),
Node = <<(?EJABBERD_CT_URI)/binary, $#, B64Ver/binary>>,
Server = ?config(server, Config),