From 3c248745e5b3afad371f81d315d72929340b0d52 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 4 Mar 2021 16:04:33 +0100 Subject: [PATCH] crypto:hmac is removed in Erlang/OTP 24, use our wrapper --- test/stundisco_tests.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),