summaryrefslogtreecommitdiff
path: root/src/mod_sip_proxy.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_sip_proxy.erl')
-rw-r--r--src/mod_sip_proxy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl
index 08c90c23..b57e431d 100644
--- a/src/mod_sip_proxy.erl
+++ b/src/mod_sip_proxy.erl
@@ -332,7 +332,7 @@ make_sign(TS, Hdrs) ->
FromTag = esip:get_param(<<"tag">>, FParams),
CallID = esip:get_hdr('call-id', Hdrs),
SharedKey = ejabberd_config:get_option(shared_key, fun(V) -> V end),
- p1_sha:sha([SharedKey, LFUser, LFServer, LTUser, LTServer,
+ str:sha([SharedKey, LFUser, LFServer, LTUser, LTServer,
FromTag, CallID, TS]).
is_signed_by_me(TS_Sign, Hdrs) ->