diff options
author | Andreas Schultz <[email protected]> | 2012-06-15 17:35:58 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:43 +0200 |
commit | 571133751287d93598dc90fe90b58ab4580f4836 (patch) | |
tree | bd265955a8e32f871d94ff66afb09d3d85e24184 /lib/ssl/src/ssl_session_cache_api.erl | |
parent | 0c692262d9be40ba1d2565ee5f663c70e9c630b1 (diff) | |
download | otp-571133751287d93598dc90fe90b58ab4580f4836.tar.gz otp-571133751287d93598dc90fe90b58ab4580f4836.tar.bz2 otp-571133751287d93598dc90fe90b58ab4580f4836.zip |
ssl: Calculate handshake hash only when needed
TLS/SSL version before 1.2 always used a MD5/SHA combination
for the handshake hashes. With TLS 1.2 the default hash is
SHA256 and it is possible to negotiate a different hash.
This change delays the calculation of the handshake
hashes until they are really needed. At that point the hash
to use should be known.
For now MD5/SHA is still hard coded.
Diffstat (limited to 'lib/ssl/src/ssl_session_cache_api.erl')
0 files changed, 0 insertions, 0 deletions