aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_session_cache_api.erl
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2012-06-15 17:35:58 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:43 +0200
commit571133751287d93598dc90fe90b58ab4580f4836 (patch)
treebd265955a8e32f871d94ff66afb09d3d85e24184 /lib/ssl/src/ssl_session_cache_api.erl
parent0c692262d9be40ba1d2565ee5f663c70e9c630b1 (diff)
downloadotp-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