aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_cipher.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-06-10 09:53:18 +0200
committerIngela Anderton Andin <[email protected]>2013-06-10 09:53:18 +0200
commit867e19e98095275ee4d3e102de269f60c52fdb45 (patch)
tree7f2488d1f75191824fc9affd18389951b42e1482 /lib/ssl/src/ssl_cipher.erl
parent24a7d69e1272184a849a2a01bcfc476fc880b356 (diff)
parentf7c480076d34ff6666e9f15c992792817aab5078 (diff)
downloadotp-867e19e98095275ee4d3e102de269f60c52fdb45.tar.gz
otp-867e19e98095275ee4d3e102de269f60c52fdb45.tar.bz2
otp-867e19e98095275ee4d3e102de269f60c52fdb45.zip
Merge remote-tracking branch 'upstream/maint'
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r--lib/ssl/src/ssl_cipher.erl12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl
index 898b421dff..ec5d793d65 100644
--- a/lib/ssl/src/ssl_cipher.erl
+++ b/lib/ssl/src/ssl_cipher.erl
@@ -1190,14 +1190,16 @@ hash_size(md5) ->
16;
hash_size(sha) ->
20;
-hash_size(sha224) ->
- 28;
+%% Uncomment when adding cipher suite that needs it
+%% hash_size(sha224) ->
+%% 28;
hash_size(sha256) ->
32;
hash_size(sha384) ->
- 48;
-hash_size(sha512) ->
- 64.
+ 48.
+%% Uncomment when adding cipher suite that needs it
+%% hash_size(sha512) ->
+%% 64.
%% RFC 5246: 6.2.3.2. CBC Block Cipher
%%