summaryrefslogtreecommitdiff
path: root/src/mod_stun_disco.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-06-01 10:35:28 +0200
committerBadlop <badlop@process-one.net>2020-06-01 10:35:28 +0200
commitc0f7008e96b8159367d025c61f5230685a8c5993 (patch)
tree4c273cd7c88af76be57921b24300335fd878fa1f /src/mod_stun_disco.erl
parentDirty workarounds to compile jiffy with Erlang/OTP 23 (#3282) (diff)
Use old http_uri, crypto and pg2 only with old Erlang/OTP (#3284)
Diffstat (limited to 'src/mod_stun_disco.erl')
-rw-r--r--src/mod_stun_disco.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_stun_disco.erl b/src/mod_stun_disco.erl
index 6231c7f4..94241e3f 100644
--- a/src/mod_stun_disco.erl
+++ b/src/mod_stun_disco.erl
@@ -555,7 +555,7 @@ make_username(ExpireAt, Hash) ->
-spec make_password(binary(), binary()) -> binary().
make_password(Username, Secret) ->
- base64:encode(crypto:hmac(sha, Secret, Username)).
+ base64:encode(misc:crypto_hmac(sha, Secret, Username)).
-spec get_password(binary(), binary()) -> binary().
get_password(Username, HostHash) ->