aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-03-04 16:04:33 +0100
committerBadlop <badlop@process-one.net>2021-03-04 16:41:27 +0100
commit3c248745e5b3afad371f81d315d72929340b0d52 (patch)
tree45b98863271902538a45bbd4b26f7df8ab0c1cd1 /test
parentUpdate sql_query record to handle the Erlang/OTP 24 compiler reports (diff)
crypto:hmac is removed in Erlang/OTP 24, use our wrapper
Diffstat (limited to 'test')
-rw-r--r--test/stundisco_tests.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stundisco_tests.erl b/test/stundisco_tests.erl
index 980571a83..f80652df4 100644
--- a/test/stundisco_tests.erl
+++ b/test/stundisco_tests.erl
@@ -184,7 +184,7 @@ single_test(T) ->
check_password(Username, Password) ->
Secret = <<"cryptic">>,
- Password == base64:encode(crypto:hmac(sha, Secret, Username)).
+ Password == base64:encode(misc:crypto_hmac(sha, Secret, Username)).
check_expires({_, _, _} = Expires) ->
Now = {MegaSecs, Secs, MicroSecs} = erlang:timestamp(),