[erlang-patches] TLS 1.2: Calculate handshake hash only when needed
Andreas Schultz
aschultz@REDACTED
Fri Feb 24 18:08:14 CET 2012
Hi,
Some time ago we discussed how to split the TLS 1.2 changes
for review. Here is the first part of that. It is possibly
the most intrusive part, but also the simplest to review.
git fetch git@REDACTED:RoadRunnr/otp.git tls12-to-upstream
https://github.com/RoadRunnr/otp/compare/tls12-to-upstream
https://github.com/RoadRunnr/otp/compare/tls12-to-upstream.patch
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.
Andreas
--
--
Dipl. Inform.
Andreas Schultz
email: as@REDACTED
phone: +49-391-819099-224
mobil: +49-179-7654368
------------------ managed broadband access ------------------
Travelping GmbH phone: +49-391-8190990
Roentgenstr. 13 fax: +49-391-819099299
D-39108 Magdeburg email: info@REDACTED
GERMANY web: http://www.travelping.com
Company Registration: HRB21276 Handelsregistergericht Chemnitz
Geschaeftsfuehrer: Holger Winkelmann | VAT ID No.: DE236673780
--------------------------------------------------------------
More information about the erlang-patches
mailing list