diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2013-06-20 18:40:44 +1000 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2013-06-20 18:40:44 +1000 |
commit | 4dc80dddd48506d89681ab02dea0f98fc4db607f (patch) | |
tree | 9d340a919d6d68ca562c35ec5f85932dfd6abaa3 /src/mod_caps.erl | |
parent | inet_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.erl | 8 |
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) -> |