]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Group transmit and receive state in TLS connection structure
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 Aug 2024 10:45:36 +0000 (11:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 Aug 2024 10:59:43 +0000 (11:59 +0100)
commitc9cac76a5c07536a466bdcbb15c69e090f0bb9f7
treef28a8ca5fd948a144b6c74bd007a4e9bb5ddf8dc
parentbe2784649dcc5f57108eb2ab86c8d80f3f96b664
[tls] Group transmit and receive 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
transmit and receive 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