summaryrefslogtreecommitdiff
path: root/src/xmpp_stream_in.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp_stream_in.erl')
-rw-r--r--src/xmpp_stream_in.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp_stream_in.erl b/src/xmpp_stream_in.erl
index 54168261..b781bdf1 100644
--- a/src/xmpp_stream_in.erl
+++ b/src/xmpp_stream_in.erl
@@ -636,7 +636,7 @@ process_handshake(#handshake{data = Digest},
{false, _} ->
false;
{Password, _} ->
- p1_sha:sha(<<StreamID/binary, Password/binary>>) == Digest
+ str:sha(<<StreamID/binary, Password/binary>>) == Digest
end,
case AuthRes of
true ->