From 4dc80dddd48506d89681ab02dea0f98fc4db607f Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 20 Jun 2013 18:40:44 +1000 Subject: Fix all calls to functions of p1_tls application --- src/mod_caps.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mod_caps.erl') 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) -> -- cgit v1.2.3