diff options
author | Andreas Schultz <[email protected]> | 2012-08-15 10:52:39 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:46 +0200 |
commit | 332716f059f291eba836fb46071a9b3e718f43c0 (patch) | |
tree | 5c5724d480e0b932931618883300c2e6009cf923 /lib/ssl/src/ssl_cipher.erl | |
parent | 6c53c50ca047dc006af75dd6045e096a4bd97153 (diff) | |
download | otp-332716f059f291eba836fb46071a9b3e718f43c0.tar.gz otp-332716f059f291eba836fb46071a9b3e718f43c0.tar.bz2 otp-332716f059f291eba836fb46071a9b3e718f43c0.zip |
ssl: Add Signature Algorithms hello extension from TLS 1.2
This is also avoids triggering some bugs in OpenSSL.
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl index 86b09b3f32..358972f522 100644 --- a/lib/ssl/src/ssl_cipher.erl +++ b/lib/ssl/src/ssl_cipher.erl @@ -606,7 +606,11 @@ hash_size(md5) -> hash_size(sha) -> 20; hash_size(sha256) -> - 32. + 32; +hash_size(sha384) -> + 48; +hash_size(sha512) -> + 64. %% RFC 5246: 6.2.3.2. CBC Block Cipher %% |