aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_cipher.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-09-04 12:19:09 +0200
committerIngela Anderton Andin <[email protected]>2013-09-10 09:37:30 +0200
commitfa8b8cd60406ddcb2781f27e291949a8698c2886 (patch)
tree351a2b4de7c215ea3e29b848d5933463775ef21d /lib/ssl/src/ssl_cipher.erl
parent1116957c362cb71938dca162f5f784ea53c7463d (diff)
downloadotp-fa8b8cd60406ddcb2781f27e291949a8698c2886.tar.gz
otp-fa8b8cd60406ddcb2781f27e291949a8698c2886.tar.bz2
otp-fa8b8cd60406ddcb2781f27e291949a8698c2886.zip
ssl: Dialyzer fixes
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r--lib/ssl/src/ssl_cipher.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl
index d958b74e9f..3fe4df99c9 100644
--- a/lib/ssl/src/ssl_cipher.erl
+++ b/lib/ssl/src/ssl_cipher.erl
@@ -1192,15 +1192,15 @@ hash_size(md5) ->
hash_size(sha) ->
20;
%% Uncomment when adding cipher suite that needs it
-hash_size(sha224) ->
- 28;
+%hash_size(sha224) ->
+% 28;
hash_size(sha256) ->
32;
hash_size(sha384) ->
- 48;
+ 48.
%% Uncomment when adding cipher suite that needs it
-hash_size(sha512) ->
- 64.
+%hash_size(sha512) ->
+% 64.
%% RFC 5246: 6.2.3.2. CBC Block Cipher
%%