diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2013-06-20 12:40:44 +0400 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2013-06-20 12:40:44 +0400 |
commit | 4dc80dddd48506d89681ab02dea0f98fc4db607f (patch) | |
tree | 9d340a919d6d68ca562c35ec5f85932dfd6abaa3 /test | |
parent | 66ad9e9722ab70d5219cacd7520fd4dfbbd220aa (diff) |
Fix all calls to functions of p1_tls application
Diffstat (limited to 'test')
-rw-r--r-- | test/ejabberd_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ejabberd_SUITE.erl b/test/ejabberd_SUITE.erl index f4e7d8d71..4da6f9bc4 100644 --- a/test/ejabberd_SUITE.erl +++ b/test/ejabberd_SUITE.erl @@ -1096,7 +1096,7 @@ sasl_new(<<"DIGEST-MD5">>, User, Server, Password) -> end}. hex(S) -> - sha:to_hexlist(S). + p1_sha:to_hexlist(S). response(User, Passwd, Nonce, AuthzId, Realm, CNonce, DigestURI, NC, QOP, A2Prefix) -> @@ -1188,7 +1188,7 @@ make_iq_result(#iq{from = From} = IQ) -> socks5_connect(#streamhost{host = Host, port = Port}, {SID, JID1, JID2}) -> - Hash = sha:sha([SID, jlib:jid_to_string(JID1), jlib:jid_to_string(JID2)]), + Hash = p1_sha:sha([SID, jlib:jid_to_string(JID1), jlib:jid_to_string(JID2)]), {ok, Sock} = gen_tcp:connect(binary_to_list(Host), Port, [binary, {active, false}]), Init = <<?VERSION_5, 1, ?AUTH_ANONYMOUS>>, |