]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Use intf_insert() to add TLS to an interface
authorMichael Brown <mcb30@ipxe.org>
Mon, 7 Dec 2020 13:51:46 +0000 (13:51 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 7 Dec 2020 13:51:46 +0000 (13:51 +0000)
commit2b6b02ee7eaad2539e26eb9507833aa3c1c9c15e
treed2864dc3e9753855829be554b6a58b6a5f2ac230
parent09fe2bbd343a46010e89d848e5887bfb5fc3f6f6
[tls] Use intf_insert() to add TLS to an interface

Restructure the use of add_tls() to insert a TLS filter onto an
existing interface.  This allows for the possibility of using
add_tls() to start TLS on an existing connection (as used in several
protocols which will negotiate the choice to use TLS before the
ClientHello is sent).

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