diff options
author | Badlop <badlop@process-one.net> | 2020-06-01 10:35:28 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-06-01 10:35:28 +0200 |
commit | c0f7008e96b8159367d025c61f5230685a8c5993 (patch) | |
tree | 4c273cd7c88af76be57921b24300335fd878fa1f /src/mod_stun_disco.erl | |
parent | Dirty 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.erl | 2 |
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) -> |