]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Restructure construction of ClientHello message
authorMichael Brown <mcb30@ipxe.org>
Tue, 30 Jan 2024 13:38:15 +0000 (13:38 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 30 Jan 2024 13:38:15 +0000 (13:38 +0000)
commit6f70e8be834e3531c9e8910c619ce9ed377f2081
tree00d41998c19c837afa8a2319daa7a695f73349fa
parent17135c83fb056f93fe70bdb09dd05ecc08963eed
[tls] Restructure construction of ClientHello message

Define an individual local structure for each extension and a single
structure for the list of extensions.  This makes it viable to add
extensions such as the Supported Elliptic Curves extension, which must
not be present if the list of curves is empty.

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