diff options
author | Andreas Schultz <[email protected]> | 2012-04-08 03:49:36 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:45 +0200 |
commit | c2761da0b7d764ca2862a4ea138cfe8a95f96c59 (patch) | |
tree | 8a20749e0a2d7b2e5e1c3f8625e3ec0033abe889 /lib/ssl/src | |
parent | 3f10f10404ee85fcf9d8f7915f768b4826eed12a (diff) | |
download | otp-c2761da0b7d764ca2862a4ea138cfe8a95f96c59.tar.gz otp-c2761da0b7d764ca2862a4ea138cfe8a95f96c59.tar.bz2 otp-c2761da0b7d764ca2862a4ea138cfe8a95f96c59.zip |
ssl: Enable mac_hash for TLS 1.2
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl_record.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_record.erl b/lib/ssl/src/ssl_record.erl index 676c191c17..4cf962c9ea 100644 --- a/lib/ssl/src/ssl_record.erl +++ b/lib/ssl/src/ssl_record.erl @@ -687,6 +687,6 @@ mac_hash({_,_}, ?NULL, _MacSecret, _SeqNo, _Type, mac_hash({3, 0}, MacAlg, MacSecret, SeqNo, Type, Length, Fragment) -> ssl_ssl3:mac_hash(MacAlg, MacSecret, SeqNo, Type, Length, Fragment); mac_hash({3, N} = Version, MacAlg, MacSecret, SeqNo, Type, Length, Fragment) - when N =:= 1; N =:= 2 -> + when N =:= 1; N =:= 2; N =:= 3 -> ssl_tls1:mac_hash(MacAlg, MacSecret, SeqNo, Type, Version, Length, Fragment). |