summaryrefslogtreecommitdiff
path: root/src/mod_caps.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-06-20 18:40:44 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-06-20 18:40:44 +1000
commit4dc80dddd48506d89681ab02dea0f98fc4db607f (patch)
tree9d340a919d6d68ca562c35ec5f85932dfd6abaa3 /src/mod_caps.erl
parentinet_dist_use_interface requires argument quoting (diff)
Fix all calls to functions of p1_tls application
Diffstat (limited to 'src/mod_caps.erl')
-rw-r--r--src/mod_caps.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_caps.erl b/src/mod_caps.erl
index c2f8d42f..513eaa45 100644
--- a/src/mod_caps.erl
+++ b/src/mod_caps.erl
@@ -469,10 +469,10 @@ make_disco_hash(DiscoEls, Algo) ->
jlib:encode_base64(case Algo of
md5 -> crypto:md5(Concat);
sha1 -> crypto:sha(Concat);
- sha224 -> sha:sha224(Concat);
- sha256 -> sha:sha256(Concat);
- sha384 -> sha:sha384(Concat);
- sha512 -> sha:sha512(Concat)
+ sha224 -> p1_sha:sha224(Concat);
+ sha256 -> p1_sha:sha256(Concat);
+ sha384 -> p1_sha:sha384(Concat);
+ sha512 -> p1_sha:sha512(Concat)
end).
check_hash(Caps, Els) ->