]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Treat handshake digest algorithm as a session parameter
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Mar 2012 17:05:37 +0000 (17:05 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Mar 2012 17:10:39 +0000 (17:10 +0000)
commit7869f71ae79392aed3fbeb76f449ee2132769d4b
treecbabc02226476c87f163e78e9d3f1a099b7d2c6e
parenta156c157465dde3e4a07034a3201a4ec19cdf750
[tls] Treat handshake digest algorithm as a session parameter

Simplify code by recording the active handshake digest algorithm as a
session parameter.  (Note that we must still accumulate digests for
all supported algorithms, since we don't know which digest will
eventually be used until we receive the Server Hello.)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/tls.h
src/net/tls.c