aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(),