]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Group client and server state in TLS connection structure
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 Aug 2024 11:15:24 +0000 (12:15 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 Aug 2024 11:15:24 +0000 (12:15 +0100)
commitacbabdb335f47eb8246188a23ed7e3997da6e8ba
treea76d6417fae3bf6a795c4bca213b864027808fb0
parentc9cac76a5c07536a466bdcbb15c69e090f0bb9f7
[tls] Group client and server state in TLS connection structure

The TLS connection structure has grown to become unmanageably large as
new features and support for new TLS protocol versions have been added
over time.

Split out the portions of struct tls_connection that are specific to
client and server operations into separate structures, and simplify
some structure field names.

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